200 OK
Here you go.
What it properly means
The request succeeded. What "success" means depends on the method: GET returns the resource, HEAD returns only the headers, PUT or POST return the result of the action.
- Class
- 2xx Successful: here you go
- Defined in
- RFC 9110, section 15.3.1
Get one yourself
This endpoint really answers with 200. Point your client at it and see what it does.
curl -i https://httpcodes.dev/api/200People mix this up with
-
Is there a body?
Both mean it worked. 200 comes with something to read. 204 comes with nothing, on purpose, and a client must not expect a body.