AI engineering glossary · Web APIs HTTP
What is 201 Created?
201 Created: The status code meaning the request succeeded and a new resource was created. The response usually includes the new resource or a Location header giving its URL. It is the normal reply to a successful creation by POST.
201 Created: an example
POST /users returns 201 with a Location header /users/88.
Related terms
More Web APIs HTTP terms
- 204 No Content
- 304 Not Modified
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 409 Conflict
- 422 Unprocessable Content
Where you learn it
201 Created is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.