POST
/users/login
curl \
--request POST '/api/users/login' \
--header "Content-Type: application/json" \
--data '{"user":{"email":"string","password":"string"}}'
Request examples
{
"user": {
"email": "string",
"password": "string"
}
}
Response examples (200)
{
"user": {
"bio": "I work at State Farm.",
"email": "jake@jake.jake",
"image": null,
"token": "jwt.token.here",
"username": "jake"
}
}
Response examples (422)
{
"errors": {
"body": [
"string"
]
}
}