Make an HTTP request using the Fetch API. This function supports GET and POST methods, and can handle different response types including text, JSON, and HTML. It also provides success and error callbacks for handling the response.
An object containing the request options such as URL, method, body, response type, and callbacks.
A promise that resolves with the parsed response data or rejects with an error.
Generated using TypeDoc
Use HttpRequestOptions