Login
Login to account using email and password.
POST
Login to account using email and password.
Login to account using email and password.
application/json- body
email*stringFormat
emailpassword*stringFormat
passwordOK
application/json- response
user?curl -X POST 'http://localhost:8000/api/v1/auth/login' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "password": "pa$$word"}'Example Response
{ "user": { "authToken": "string", "userId": "string", "name": "string", "username": "string", "email": "user@example.com", "avatar": "string" }}