This method implements the logic to execute HTTP
requests using the axios
dependency.
Methods currently supported include: GET
, POST
.
The exact URL to be called for the request, e.g. "http://localhost:7903/auth/challenge"
.
A HTTP method name, e.g. "GET"
. Defaults to "GET"
.
A configuration object that is forwarded to axios
as the request body (POST requests).
A configuration object that is forwarded to axios
as the request options.
A configuration object that is forwarded to axios
as the request headers.
Generated using TypeDoc
This class implements a handler for API calls that are transported over HTTP to the backend API.
It currently only implements
GET
andPOST
HTTP methods and must be used by child classes of the BackendService to execute requests over HTTP(S).Using the HttpRequestHandler class
Should accept custom request headers in method call
The call method should not use
any
for request options/headersThe call method must not use
options
in a request's data fieldImprove error handling and messaging
v0.2.0