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.

Level: intermediateTopic: Web APIs HTTP

201 Created: an example

POST /users returns 201 with a Location header /users/88.

Related terms

More Web APIs HTTP terms

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.