Section: Resource-oriented routes

Create a resource

http
http
POST /users
Explanation

POST to a collection is the common create pattern. The server typically returns `201 Created` with the new representation or a location reference.

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 Resource-oriented routes
List a collection
Fetch a list of users.
OpenIn sheethttpsame section
Fetch a single resource
Read one user by identifier.
OpenIn sheethttpsame section
Replace a resource
Replace the full representation.
OpenIn sheethttpsame section
Partially update a resource
Modify only selected fields.
OpenIn sheethttpsame section
Delete a resource
Remove one user.
OpenIn sheethttpsame section
Nested child resource
Access a child collection under a parent resource.
OpenIn sheethttpsame section