The URL to make the Request to
The data of the Request
Optionaloptions: { allowStatus?: number[]; onTimeout?: Function; timeoutMs?: number | null } = {}Additional options
OptionalallowStatus?: number[]Non-OK status codes to return rather than throw.
OptionalonTimeout?: FunctionA method to invoke if and when the timeout is reached
OptionaltimeoutMs?: number | nullHow long to wait for a Response before cleanly aborting.
If null, no timeout is applied. Default: 30000.
A wrapper method around
fetchthat attaches an AbortController signal to thefetchcall for clean timeouts