-
Notifications
You must be signed in to change notification settings - Fork 3
Auth
Zed edited this page Mar 31, 2020
·
2 revisions
Endpoint: POST - http://localhost:8080/api/v1/login
Description: N/A
{
Content-Type: application/json; charset=utf-8
}
{
"username": "kastnerorz",
"password": "01db71ab8048f74a4b92c26ba77285ade0687ac192758e8185ad52701f649ef2"
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Tue, 31 Mar 2020 15:38:38 GMT
Content-Length: 227
Connection: close
{
"code": 200,
"expire": "2020-04-01T00:38:38+08:00",
"token": "eyJhbG"
}
Endpoint: POST - http://ac.kastner.cn/api/v1/refresh
Description: N/A
{
Authorization: Bearer
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Tue, 31 Mar 2020 16:21:56 GMT
Content-Length: 227
Connection: close
{
"code": 200,
"expire": "2020-04-01T01:21:56+08:00",
"token": "eyJhbGc"
}