cURL
curl --request POST \ --url http://localhost:63372/api/captain/auth/login \ --header 'Content-Type: application/json' \ --data ' { "password": "your-password" } '
{ "ok": true }
Authenticate with password. Returns an HMAC-signed captain_session cookie valid for 7 days.
"your-password"
Login successful. Sets captain_session cookie.
true