Angular HTTP Interceptors: What are they and how to use them

Photo by Tyler Milligan on Unsplash Hello, In this short article I will try to explain what is an HTTP interceptor and how to use it. My article is based on the Angular’s official documentation which I strongly recommend to take a look at, you can find it here: intercepting-requests-and-responses. In case you’re wondering, the contents of this article is valid for Angular 2, 4 and 6, which now is called Angular....

May 22, 2018 · 3 min · Denis Nuțiu