User Login
Authenticates a user with email and password, returns user info and sets an HTTP-only auth cookie.
POST
/auth/login
curl \
--request POST 'http://api.example.com/auth/login' \
--header "Content-Type: application/json" \
--data '{"email":"string","password":"string"}'
Request examples
{
"email": "string",
"password": "string"
}
Response examples (200)
{}
Response examples (400)
{
"additionalProperty1": "string",
"additionalProperty2": "string"
}
Response examples (401)
{
"additionalProperty1": "string",
"additionalProperty2": "string"
}