Back to all status codes

204

No Content

Success
RFC 7231

The server has successfully fulfilled the request and there is no additional content to send.

Detailed Information

The 204 status code indicates that the server has successfully fulfilled the request and that there is no additional content to send in the response body.

Common Examples

  • API responses with no data
  • Successful form submissions
  • Resource updates without data

Common Uses

  • API responses with no data
  • Successful form submissions
  • Resource updates without data

Best Practices

  • Use when no content is returned
  • Consider using 200 OK with empty body for more clarity
  • Ensure proper caching headers are set

Quick Actions

Category Information

Success

The action was successfully received, understood, and accepted

Available for Freelance

Fullstack developer specializing in React, Next.js, and Node.js. Let's build something amazing together!

Stay in the loop

Get notified about new tools and updates

HTTP Status Codes Reference - Complete List with Descriptions