The URL to make the Request to
The data of the Request
Optional
options: { onTimeout?: Function; timeoutMs?: null | number } = {}Additional options
Optional
onTimeout?: FunctionA method to invoke if and when the timeout is reached
Optional
timeoutMs?: 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