204 No Content

Look up a status, pick the right one for an API, or hit a live endpoint that actually returns it. Add ?code=418 to this URL and the response is that status — useful for curl, interceptors, and “what does my client do on 503?” Nothing here phones home except the Try it fetch to this same page.

Which class?

204

No Content

Success · RFC 9110

Success, and the response has no body. Browsers will not navigate away.

When to use

DELETE, or PUT/PATCH when you do not return the new state. Also “save succeeded.”

Don’t

If you have a representation to return, use 200. Never put a body on 204.

Live URL

curl -i https://corecoding.com/utilities/http-status.php?code=204


    

Code use cases