The HTTPClient in Angular 6 offers a simplified version of client HTTP API for applications in Agular resting on the XMLHttpRequests interface exposed by the end-user in the browser.

Benefits of HTTPClient:
  • Included Testability Features
  • Typed Requests and Response Objects
  • Requests and Response Interception
  • Observable APIs and a method of streamlined and efficient error handling
BY Best Interview Question ON 02 Feb 2020