A url string, URL Object, or RequestInfo object.
Optionalinit: Maybe<Readonly<Omit<RequestInit, "signal">>>A RequestInit object.
Optionaloptions: Partial<RequestOptions>Additional configuration such as an abort reference or service id for metrics and retries.
Requests a resource.
Note: Unlike
window.fetch, the returned promise is expected to reject if the response is !ok.