midAngular
What is Angular HTTP Interceptor?
Updated Apr 28, 2026
Short answer
Interceptors modify HTTP requests and responses globally.
Deep explanation
Interceptors allow adding headers, logging, error handling, and authentication in one place.
Real-world example
Adding JWT token to every API request.
Common mistakes
- Handling business logic inside interceptors.
Follow-up questions
- Why interceptors?
- Can multiple interceptors exist?