204

HTTP 204 No Content

2xx Success

  1. Home
  2. > HTTP Status Codes >
  3. > 2xx >
  4. 204
2xx Success RFC 7231, Section 6.3.5

What is HTTP 204 No Content?

The 204 (No Content) status code indicates that the server has successfully fulfilled the request and that there is no additional content to send in the response payload body. Metadata in the response header fields refer to the target resource and its selected representation after the requested action. This is commonly used for DELETE operations or form submissions where no response body is needed.

Common Use Cases

  • Successful DELETE operation in API
  • Form submission where only a status is needed
  • Analytics tracking endpoints
Help2Code Logo
Menu