To intercept and modify HTTP requests globally, you would implement a class that uses the ________ interface.

  • HttpClient
  • HttpHandler
  • HttpInterceptor
  • HttpRequest
To intercept and modify HTTP requests globally in an Angular application, you would implement a class that uses the HttpInterceptor interface. This interface provides methods for intercepting both the request and the response, allowing you to add headers, modify requests, or handle errors at a global level.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *