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:
Check below linkshttps://itnext.io/understanding-angular-interceptors-405b84d7ad69
https://blog.angularindepth.com/top-10-ways-to-use-interceptors-in-angular-db450f8a62d6