Optionalcache
GET caching: true enables the URL cache; a
strategy selects strategy-aware caching.
Optionalcredentials
Fetch credential mode. Defaults to
"same-origin".
Optionalheaders
Default headers grouped by method and merged into each request case-insensitively.
OptionalparamQuery parameter serializer token or function.
OptionaltransformRequest body transform pipeline.
OptionaltransformResponse body transform pipeline.
OptionalxsrfCookie name used when reading the XSRF token.
OptionalxsrfHeader name used when sending the XSRF token.
Default request settings configured through
app.config({ $http })and exposed at runtime through$http.defaults.Only the settings declared here are read from service-level defaults. Set
timeout,signal, andresponseTypeon individual requests instead.