How to use Interceptor in Angular

added by DotNetKicks
10/31/2019 5:09:03 PM

282 Views

Interceptors are used to intercepts HTTP requests and responses from the application. You can handle them or transform them before passing it on. For example, you can use an interceptor to add authorization token before passing the HTTP request or cache the HTTP response. Some of the usages of interceptors are as follows, Caching of...


0 comments