Default REST backend that adapts RestRequest objects to $http.
$http
This preserves the existing HTTP behavior for $rest resources while making the transport swappable for custom resource backends.
$rest
Creates a backend that executes REST requests through $http.
Send the REST request through $http.
Request-specific options override backend defaults.
Default REST backend that adapts RestRequest objects to
$http.This preserves the existing HTTP behavior for
$restresources while making the transport swappable for custom resource backends.