yep I'd check `.ok` and also check if the `content-type` includes `application/json`. You'd be surpr

yep I'd check .ok and also check if the content-type includes
application/json
. You'd be surprised at how many APIs are wonky sometimes and return a 200 but an HTML error page or something
Was this page helpful?