用户身份认证
最后更新于
这有帮助吗?
最后更新于
这有帮助吗?
这有帮助吗?
POST /auth/session HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"username": "text",
"password": "text"
}{
"message": "text",
"user": {
"id": 0,
"username": "text",
"nickname": "text",
"role": "text"
},
"sessionID": "text"
}DELETE /auth/session HTTP/1.1
Accept: */*
{
"message": "text"
}