79775851

Date: 2025-09-26 11:36:12
Score: 0.5
Natty:
Report link
# 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
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ALLAH ALLAH