A

Admin • 802.91K Points
Coach

Q. What is the purpose of HttpInterceptor in Angular?

  • (A) Add interceptors for routing
  • (B) Handle change detection
  • (C) Modify HTTP requests and responses
  • (D) Create new observables
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
HttpInterceptors allow interception and transformation of HTTP requests/responses globally.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.