Which HTTP Success Code Should I Return?
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://statuscodefyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/entity//)
Use the native HTML custom element.
Not all successful responses should return 200 OK. This tree guides you to the most precise 2xx code based on what action was taken: creating a resource, accepting work asynchronously, returning no body, or sending partial content.
Decision Steps
Did this request create a new resource?
Has the request been accepted for processing but the work is not yet complete (asynchronous / queued job)?
Are you returning a response body with content?
Are you returning only part of the resource in response to a Range request?