Get userid

POST /api/login
application/json

Responses

  • 200
    Hide response attribute Show response attribute object
    • sessid string

      The user id to use for future requests

POST /api/login
curl \
 -X POST https://api.hcgateway.shuchir.dev/api/login \
 -H "Content-Type: application/json" \
 -d '{"username":"string","password":"string"}'
Request example
{
  "username": "string",
  "password": "string"
}
Response examples (200)
{
  "sessid": "string"
}