Hi Everyone ,
I one of my interviews i was asked by the interveiwer what exactly is Http Interceptor in Angular ?
Hi Everyone ,
I one of my interviews i was asked by the interveiwer what exactly is Http Interceptor in Angular ?
In the world of Angular, interceptors have been used to pre-process and post-process the HTTP request before sending and after getting response from the server. Interceptors can be used in two different phases in a life cycle of an HTTP request to a server, which are: