Interceptor Angular

Sukhpinder Singh | .Net Developer
The Tech Masters
Published in
2 min readJul 30, 2020

--

Interceptors are provided by an angular framework to basically intercept or modify HTTP requests before passing on to the server.

Its really handy in scenarios like Authentication, Logging, Appending Headers & may more.

Without interceptors, developers need to specify Authentication, Logging, or any other common information explicitly for the HTTP request method.

Different scenario’s where interceptors are commonly used are as follows:

  • Logging
  • Authentication

--

--

Sukhpinder Singh | .Net Developer
The Tech Masters

Programmer by heart | C# | .Net 6 | .Net 8 | dotnet | dotnetcore | Kubernetes | Angular | AWS | Remember to 👏 Linktree: https://linktr.ee/sukhpindersingh