$httpParamSerializerJQLike

service in module ng Alternative $http params serializer that follows jQuery's param() method logic. The serializer will also sort the params alphabetically. To use it for serializing $http request parameters, set it as the paramSerializer property: $http({ url: myUrl, method: 'GET', params: myParams, paramSerializer: '$httpParamSerializerJQLike' }); It is also possible to set it as the default paramSerializer in the $httpProvider. Additionally, you can inject the serializer and u

$httpProvider

$http provider in module ng Use $httpProvider to change the default behavior of the $http service. Methods useApplyAsync([value]); Configure $http service to combine processing of multiple http responses received at around the same time via $rootScope.$applyAsync. This can result in significant performance improvement for bigger applications that make many HTTP requests concurrently (common during application bootstrap). Defaults to false. If no value is specified, returns the curren

$http.pendingRequests

pendingRequests Array.<Object> Array of config objects for currently pending requests. This is primarily meant to be used for debugging purposes.

$httpParamSerializer

service in module ng Default $http params serializer that converts objects to strings according to the following rules: {'foo': 'bar'} results in foo=bar {'foo': Date.now()} results in foo=2015-04-01T09%3A50%3A49.262Z (toISOString() and encoded representation of a Date object) {'foo': ['bar', 'baz']} results in foo=bar&foo=baz (repeated key for each array element) {'foo': {'bar':'baz'}} results in foo=%7B%22bar%22%3A%22baz%22%7D" (stringified and encoded representation of an objec

$http.post()

post(url, data, [config]); Shortcut method to perform POST request. Parameters Param Type Details url string Relative or absolute URL specifying the destination of the request data * Request content config (optional) Object Optional configuration object Returns HttpPromise Future object

$http.put()

put(url, data, [config]); Shortcut method to perform PUT request. Parameters Param Type Details url string Relative or absolute URL specifying the destination of the request data * Request content config (optional) Object Optional configuration object Returns HttpPromise Future object

$httpBackend

service in module ng HTTP backend used by the service that delegates to XMLHttpRequest object or JSONP and deals with browser incompatibilities. You should never need to use this service directly, instead use the higher-level abstractions: $http or $resource. During testing this implementation is swapped with mock $httpBackend which can be trained with responses. Dependencies $window $document $xhrFactory

$http.head()

head(url, [config]); Shortcut method to perform HEAD request. Parameters Param Type Details url string Relative or absolute URL specifying the destination of the request config (optional) Object Optional configuration object Returns HttpPromise Future object

$http.get()

get(url, [config]); Shortcut method to perform GET request. Parameters Param Type Details url string Relative or absolute URL specifying the destination of the request config (optional) Object Optional configuration object Returns HttpPromise Future object

$http.delete()

delete(url, [config]); Shortcut method to perform DELETE request. Parameters Param Type Details url string Relative or absolute URL specifying the destination of the request config (optional) Object Optional configuration object Returns HttpPromise Future object