2xx Success
Something new was created! Like adding a new post, user account, or file - the server made it and it now exists.
Use 201 when the request succeeded and created a new resource.
POST https://api.example.test/api/posts201 Created
# Headers
Location: https://api.example.test/api/posts/456
Content-Type: application/json
# Body
{
"id": 456,
"status": "created"
}The server created a new blog post and points the client to the canonical URI for it.
Everything worked perfectly! The server understood your request and sent back exactly what you asked for.
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.