Send a request using the full configuration object.
Live runtime defaults initialized from app-level
$http configuration.
Requests currently in flight.
Send a DELETE request.
Optionalconfig:
HttpRequestOptions
Send a GET request.
Optionalconfig:
HttpRequestOptions
Send a HEAD request.
Optionalconfig:
HttpRequestOptions
Send a PATCH request with a request body.
Optionalconfig:
HttpRequestOptions
Send a POST request with a request body.
Optionalconfig:
HttpRequestOptions
Send a PUT request with a request body.
Optionalconfig:
HttpRequestOptions
Runtime surface of the
$httpservice.Call the service directly with a full HttpRequestConfig, or use a shorthand method for common HTTP verbs. All methods return an
Promise<HttpResponse<T>>that resolves for successful 2xx responses and rejects with HttpError for HTTP or transport failures. Configuration, transform, and interceptor errors can reject with other error types.Uses Fetch exclusively. Cancel with a native
AbortSignal, set a numerictimeoutfor a deadline, and observe completion through the returned promise. Upload progress events are not available.