Optionaldefaults
Default values merged into the live
$http.defaults object.
Optionalinterceptors
Interceptor factories applied to requests and responses.
OptionalxsrfAdditional origins trusted to receive the configured XSRF token. The current origin is always trusted. Does not enable CORS or change Fetch credentials.
Declarative configuration accepted by
NgModule.config({ $http: ... }).