Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of Angular interceptors?
Answer: Angular interceptors are used to intercept HTTP requests and responses globally. They allow you to modify the request or response before it is sent or received by the application. Interceptors are commonly used for tasks such as authentication, logging, or adding headers.

Example:

class AuthInterceptor implements HttpInterceptor { ... }
Is it helpful? Yes No

Most helpful rated by users:

©2026 WithoutBook