Performs a typed HTTP request to the API.
API endpoint path
Optional
Fetch request options
Parsed JSON response
Error if the response is not OK
Performs a typed HTTP request to the API.