however looking through this issue I thought that only trying to access JSON response would throw an error that's why I changed the 8th line, yet this part:
a
c, error SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
d, response undefined
f, error TypeError: response is undefined
I'm looking only to retrieve 204 status of the response, which my Backend returns (and Firefox shows correctly).
What are my option (other than changing the response from my Backend)?
Edit: closed the issue, I just noticed that my afterResponse calls response.json()... sorry, you can delete it.
This is my request:
Normally the 8th line would look like this:
however looking through this issue I thought that only trying to access
JSON
response would throw an error that's why I changed the 8th line, yet this part:already
throws
, here's whatconsole.log()
shows:I'm looking only to retrieve
204 status
of the response, which my Backend returns (and Firefox shows correctly). What are my option (other than changing the response from my Backend)?Edit: closed the issue, I just noticed that my
afterResponse
callsresponse.json()
... sorry, you can delete it.