HTTP status codes / 2xx — Success
Success with intentionally empty body.
The request worked and there is deliberately nothing to return — typical for DELETE, or PUT/PATCH where the server has nothing to add. The response must not include a body.
curl -i https://httpbin.org/status/204
Same request, no terminal: paste this into the cURL converter for native code, or straight into ReqPad on your phone.
JSON-parsing a 204 response is a classic client crash; guard for empty bodies before calling response.json().
The fastest way to pin down a 204 is to reproduce the exact request and inspect what actually went over the wire — status, headers, timing and body, without your app code in the way. That is what an API client is for; ReqPad does it from your phone, with every request saved to history.
200 OK · 201 Created · 202 Accepted · 203 Non-Authoritative Information · 205 Reset Content · 206 Partial Content — or the full reference.
Build the request, send it, read status + headers + timing — on your iPhone. Free to start.