success RFC 9110
HTTP 200 OK
The request succeeded and the response body contains the requested data.
What it means
The default success code. The server received the request, processed it, and is returning the result. For GET, the body contains the resource. For POST, the body typically contains a confirmation or the created resource. For PUT, the body contains the updated resource or nothing. For DELETE, 200 means the resource was deleted and the body describes the result (204 is more common when there's nothing to return).
When servers send it
- •Any successful GET request
- •Successful POST that returns data (not creating a new resource — that would be 201)
- •Successful PUT that returns the updated resource
- •Any HEAD request that would have returned a body under GET
What the client does
Reads the response body according to `Content-Type`. Renders, parses, or stores as appropriate.
When you see it
- •Normal successful response — no action needed
Similar codes
201 Created success
Request succeeded and a new resource was created as a result.
202 Accepted success
Request was accepted for processing but not yet completed.
204 No Content success
Request succeeded but there is no body in the response.
206 Partial Content success
Server is returning part of a resource due to a Range header from the client.
← All HTTP status codes · HTTP status cheat sheet · HTTP headers reference