1.

How to set headers for every request in Angular?

Answer»

In order to set headers for every request in ANGULAR 7, HTMLHttpRequest is used. There is a number of benefits such as testability features, TYPES request, request and response interception, observable APIs and streamlined error HANDLING that is associated with, XMLHttpRequest.

Related INTERVIEW QUESTIONS: AngularJS Interview Questions


Discussion

No Comment Found