Skip to main content
POST
/
api
/
session
/
login
Login
curl --request POST \
  --url http://localhost:8080/api/session/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "password": "<string>"
}
'
{
  "message": "Login successful",
  "token": "<string>"
}

Body

application/json
username
string
required
password
string
required

Response

Login successful

message
string
Example:

"Login successful"

token
string

Session token