application/json

Body Required

  • email string

    Minimum length is 1.

  • password string

    Minimum length is 1.

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • token string
    • expiresIn integer(int64)
POST /auth/login
curl \
 --request POST 'http://localhost:8080/auth/login' \
 --header "Content-Type: application/json" \
 --data '{"email":"string","password":"string"}'
Request examples
{
  "email": "string",
  "password": "string"
}
Response examples (200)
{
  "token": "string",
  "expiresIn": 42
}