|
Object containing default values for all $http requests. -
defaults.cache - {boolean|Object} - A boolean value or object created with $cacheFactory to enable or disable caching of HTTP responses by default. See $http Caching for more information. -
defaults.xsrfCookieName - {string} - Name of cookie containing the XSRF token. Defaults value is 'XSRF-TOKEN' . -
defaults.xsrfHeaderName - {string} - Name of HTTP header to populate with the XSRF token. Defaults value is 'X-XSRF-TOKEN' . -
defaults.headers - {Object} - Default headers for all $http requests. Refer to $http for documentation on setting default headers. defaults.headers.common defaults.headers.post defaults.headers.put defaults.headers.patch
-
defaults.paramSerializer - {string|function(Object<string,string>):string} - A function used to the prepare string representation of request parameters (specified as an object). If specified as string, it is interpreted as a function registered with the $injector. Defaults to $httpParamSerializer.
|
Please login to continue.