Kyoo/auth/tests/basic.hurl
2025-04-05 00:46:22 +02:00

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