Last updated 25 days ago
POST /users
POST
/users
<Description of the endpoint>
Headers
Body
Response
{ "id": 1, "name": "John", "age": 30 }
{ "error": "Invalid request" }
Content-Type
application/json
Authorization
Bearer <token>
name
string
Name of the user
age
number
Age of the user