Change Log
2021/7/3
Version 0.1.2 Finished
POST /session
Example
curl --header "Content-Type: application/json" \\
--data '{"user_email":"[email protected]","user_password":"1145141919810"}' \\
<https://vojapi.crarch.hitsz.org/session>
Parameters
{
"user_email":"[email protected]",
"user_password":"1145141919810",
}
Response
Status:200
{
"Authorization": "<JWT token>"
}
Token should be put in Authorization:<token>
in HTTP request header for all requests except login.
DELETE /session
Parameters
None