6. 用户管理
6.1. 用户注册
Type: POST
Author: xezzon
Content-Type: application/json
Description: 用户注册
Body-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
username |
string |
用户名 |
false |
- |
nickname |
string |
用户昵称 |
false |
- |
password |
string |
密码 |
false |
- |
Request-example:
curl -X POST -H "Content-Type: application/json" -i 'http://127.0.0.1/user/register' --data '{
"username": "",
"nickname": "",
"password": ""
}'
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
id |
string |
No comments found. |
- |
Response-example:
{
"id": ""
}