Check out three new chapters of our blog post on Consuming a REST Services with Angular

  • First, we will separate the HttpClient Service in its own file
  • we will move some functionality from HTTP Template to the component
  • and we will use HttpClient Interceptors
    • for adding headers in outgoing requests (e.g. for authentication)
    • and for normalizing HttpCient responses by manipulating the bodies of incoming responses

Check it out here!

Leave a Reply (Sorry for the "Invalid Token" problem, we had here because of a plugin incompatibility. It is resovled now and you can leave a reply again)

This site uses Akismet to reduce spam. Learn how your comment data is processed.