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

← All HTTP status codes · HTTP status cheat sheet · HTTP headers reference