-
Notifications
You must be signed in to change notification settings - Fork 0
User Endpoints
dionisggr edited this page Feb 27, 2021
·
1 revision
URL: /api/user
Method: POST
Auth required: No
Bearer my-secret-key
Requires headers: {'Content-Type': 'application/json'}
{
"name": "Dwight Schrute"
"username": "dwight",
"password": "pass"
}
Name | Type | In | Description |
---|---|---|---|
id |
integer | header | Primary key |
username |
string | header | Unique username |
name |
string | header | First name of user |
password |
string | header | User password |
Code: 201 Created
Content example
{
"id": 1,
"username": "dwight",
"name": Dwight Schrute
}