2xx Success
Everything worked perfectly! The server understood your request and sent back exactly what you asked for.
Use 200 when the request completed successfully and the response body represents the result.
GET https://api.example.test/api/users/123200 OK
# Headers
Content-Type: application/json
# Body
{
"id": 123,
"name": "Example User"
}Server successfully retrieved and returned the user's profile information
Something new was created! Like adding a new post, user account, or file - the server made it and it now exists.
We got your request and we're working on it! We'll process it later, but don't wait around - check back later to see if it's done.
Success. The server did what you asked, but there’s nothing useful to send back in the body.
Success! We did what you asked, and now please clear your form or reset your page so you can start fresh.
You asked for just a piece of a file (like pages 5-10 of a book), and here's that specific piece you wanted!