-
Notifications
You must be signed in to change notification settings - Fork 2
Authentication
Siyuan Zhang | 张豆 edited this page Oct 11, 2019
·
1 revision
Login and get a Token.
POST /api/v1/auth
Parameter | Type | Default | Description |
---|---|---|---|
username |
string |
null |
|
password |
string |
null |
{
"token":"..."
}
POST /api/v1/register
Parameter | Default | Description |
---|---|---|
username |
null |
Unique |
password |
null |
|
email |
null |
Unique |
GET /api/v1/refresh
{
"token":"..."
}