JSON.parse error for 204 status code (no content)
Open
- Dominant language
- JavaScript
- Stars
- 402
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
So I'm sending a JSON object via the POST method and using `.concat`, but the problem is the endpoint is returning 204 No Content and `simple-get` is trying to parse that. I think the correct behavior in this case would be to return an empty object or even null.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.