AUTH
(login)
app/controllers/api/auth_controller.ts - login
post/api/auth/login
Request
- The document declares no server URL.
- Auth: none required
Request body
Example request
{
"username": "Lorem Ipsum",
"password": "Lorem Ipsum"
}Response
Returns 200 (OK) as application/json
Example response
{
"user": {
"username": "Lorem Ipsum",
"firstName": "John",
"lastName": "Doe",
"id": 538,
"email": "johndoe@example.com",
"createdAt": "2021-03-23T16:13:08.489+01:00",
"balance": 185
},
"token": "Lorem Ipsum"
}Changes
No recorded changes to this operation across all 1 revision of this API.