The URL to make the Request to
The data of the Request
Optionaloptions: { onTimeout?: Function; timeoutMs?: null | number } = {}Additional options
OptionalonTimeout?: FunctionA method to invoke if and when the timeout is reached
OptionaltimeoutMs?: null | numberHow long to wait for a Response before cleanly aborting.
If null, no timeout is applied. Default: 30000.
A small wrapper that automatically asks for JSON with a Timeout