Resource created successfully
Section: HTTP 2xx Success Status Codes
HTTP 201 Created
text
text
curl -i -X POST https://example.com/api/users -H 'Content-Type: application/json' -d '{"name":"Ada"}'Explanation
Common after a successful `POST` that creates a new resource.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing HTTP 2xx Success Status Codes