# Using POST (server decides URI)
POST /users HTTP/1.1
Content-Type: application/json
{ "name": "Alice" }
# Response:
HTTP/1.1 201 Created
Location: /users/123
# Using PUT (client specifies URI)
PUT /users/123 HTTP/1.1
Content-Type: application/json
{ "name": "Alice" }
# Response:
HTTP/1.1 201 Created