Optional customCustom headers to pass tot the HTTP request.
Optional dataPayload for a POST request
Optional errorError callback taking the response error code, text and body as arguments
Optional methodMethod for the request (POST, GET, ...)
Optional successA success callback taking the body as an argument
Optional timeoutRequest timeout in milliseconds
URL of the request (https://example.com)
Option for an external HTTP request