API route: /login
POST method
Login a user
Parameters
{
"username": "onmyshelf",
"password": "passwordEncodedInBase64"
}
Return example
{
"token": "dcb1b2b20707a060e72ba8013ac5",
"userid": 1,
"readonly": false
}
Login a user
{
"username": "onmyshelf",
"password": "passwordEncodedInBase64"
}
{
"token": "dcb1b2b20707a060e72ba8013ac5",
"userid": 1,
"readonly": false
}