In Angular10 HTTP Client provides easy to use APIs and many other features like-

  • Testing APIs i.e. Application Programming Interfaces
  • Request and Response interceptors.
  • Typed Requests and Response objects
  • Observable based APIs
  • Handling errors in a better way.

Note: Before using all these features users have to import HttpClient in your angular application.

BY Best Interview Question ON 22 Sep 2021