Skip to content

Register

POST
/api/auth/register

Registrar un nuevo usuario

{
    username: string,
    password: string
}
object
Example
{
"username": "alice",
"password": "1234"
}

SUCCESS

Vary
string
Example
Origin
Access-Control-Allow-Credentials
boolean
Example
true
Content-Length
integer
Example
84
ETag
string
Example
W/"54-d/kGCQq3QRqJ/D+sB+ql08QfCPY"
Date
string
Example
Thu, 11 Dec 2025 18:30:17 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:33:47 GMT
Connection
string
Example
keep-alive
Keep-Alive
string
Example
timeout=5