HELPER METHOD FOR TESTS ONLY
HELPER METHOD FOR TESTS ONLY
Sends an HTTP GET request
The specific API endpoint to send a request to
ApiResponse
subclass instance that indicates whether the call succeeded or failed
Sends an HTTP POST request
The specific API endpoint to send a request to
Querystring data required by the API endpoint
ApiResponse
subclass instance that indicates whether the call succeeded or failed
Sends an HTTP PUT request
The specific API endpoint to send a request to
Querystring data required by the API endpoint
ApiResponse
subclass instance that indicates whether the call succeeded or failed
Generated using TypeDoc
This utility class contains methods and properties required to make HTTP calls using the Fetch API library and building custom response objects.
Fetch treats 4XX or 5XX response codes as successful responses. Fetch differentiates these from a 'network error' which will throw an error in the try/catch block.