I'm making a simple GET request using the Fetch API and the response has:
Transfer-Encoding: chunked
The network inspector in the Firefox dev tools shows me a chunk (a partial JSON response) in the payload, but I can't figure out how to access it in JavaScript.
Interestingly, even though the response status is 200, response.ok is false.
So how can I access the payload?
mode: 'no-cors',