mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
20 lines
330 B
Plaintext
20 lines
330 B
Plaintext
# Bad Account (login fails if user does not exist)
|
|
POST {{host}}/sessions
|
|
{
|
|
"login": "i-don-t-exist",
|
|
"password": "pass"
|
|
}
|
|
HTTP 404
|
|
|
|
# Invalid username
|
|
POST {{host}}/sessions
|
|
{
|
|
"login": "invalid-username-user",
|
|
"password": "pass"
|
|
}
|
|
HTTP 404
|
|
|
|
# Me cant be accessed without an account
|
|
GET {{host}}/users/me
|
|
HTTP 401
|