Optional
body?: string | boolean | number | object | nullThe body of the request.
This only really supports string for now (any other type gets stringified) but it could support more in the future. https://developer.mozilla.org/en-US/docs/Web/API/RequestInit#body
Optional
contentType?: stringContent-Type passed to request Headers.
Optional
extraRequestInit?: ExtraRequestInitAn extra, more limited RequestInit, that may override some of the options.
Optional
method?: stringThe REST method of the request.
Optional
params?: URLSearchParamsRecordThe search parameters of the URL.
The path or subpath of the URL to make a request to.
Main options of a request.