Fetch JSON from a URL, throwing on non-OK responses.
URL to fetch.
Optional
Optional fetch init options.
fetch
Parsed JSON response body.
Error with HTTP {status}: {body} message on non-OK responses.
HTTP {status}: {body}
Fetch JSON from a URL, throwing on non-OK responses.