Skip to content

Login Demo

POST
/api/auth/login

Login de usuario hardcodeado para demostración

{
    username: string: "bob",
    password: string: "1234"
}
object
username
string
password
string format: utc-millisec
Example
{
"username": "bob",
"password": "1234"
}

SUCCESS

Vary
string
Example
Origin
Access-Control-Allow-Credentials
boolean
Example
true
Content-Length
integer
Example
197
ETag
string
Example
W/"c5-0DVqt1dFuHQrrxGv3u3pOr7kETw"
Date
string
Example
Thu, 11 Dec 2025 18:26:13 GMT
Connection
string
Example
keep-alive
Keep-Alive
string
Example
timeout=5

VALIDATION_ERROR

Vary
string
Example
Origin
Access-Control-Allow-Credentials
boolean
Example
true
Content-Length
integer
Example
84
ETag
string
Example
W/"54-H3n/UH9GlS6fEhgDlCxUviRIy5k"
Date
string
Example
Thu, 11 Dec 2025 18:32:56 GMT
Connection
string
Example
keep-alive
Keep-Alive
string
Example
timeout=5

AUTH_INVALID_CREDENTIALS

Vary
string
Example
Origin
Access-Control-Allow-Credentials
boolean
Example
true
Content-Length
integer
Example
85
ETag
string
Example
W/"55-gJuImXzO6RS24uVAgWqXOXmS0P0"
Date
string
Example
Thu, 11 Dec 2025 18:31:22 GMT
Connection
string
Example
keep-alive
Keep-Alive
string
Example
timeout=5