Angular Js

Exclude requests from being intercepted by Http Inspector Angular 5

Introduction So angular 4.3 introduced a cool concept “Http Interceptors”. These can intercept your request and responses where you can modify them in a very clean way. We use these interceptors for various purposes like adding an auth token to each request, to show a loading icon meantime the request is being processed etc. One of the challenges that I faced is that these interceptors will catch all the request and responses and Angular 5 does not provide a clean way of excluding some request from being intercepted by a particular interceptor.