cURL
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>" }
Authenticates with username and password and returns a session token.
Login successful
"Login successful"
Session token
Was this page helpful?