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.
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 andsimple-get
is trying to parse that. I think the correct behavior in this case would be to return an empty object or even null.