Rocky Mountain Angular
Angular HTTP Interceptors: There and Back Again
October 18, 2017 in Denver, CO
The 4.3 release of Angular introduced a new HTTP client library and with it brought back a beloved feature from AngularJS - interceptors.
Interceptors in the Angular teams own words “When your application makes a request, interceptors transform it before sending it to the server, and the interceptors can transform the response on its way back before your application sees it.” In this talk, we will show you how to create HTTP Interceptors with Angular 4.3+, use cases for the interceptors - in our case and probably the most common case; authentication and authorization, as well as additional best practices and tips and tricks using the new HttpClient library.