2xx Success
HTTP 204 No Content
The server has successfully processed the request but is not returning any content. This is often used for DELETE requests or PUT updates where the client doesn't need a response body.
Common Causes
- Successful DELETE request with nothing to return
- PUT/PATCH update completed, no body needed
- Form submission with no redirect or response data
How to Fix
- 1No fix needed — the operation succeeded
- 2If you need response data, use 200 OK instead
- 3Ensure the client handles empty response bodies gracefully
Example
HTTP 204 No Content
DELETE /api/users/42 HTTP/1.1 → 204 No Content → (empty response body)