Get userid

POST /api/login
application/json

Responses

  • 200 application/json
    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 examples
{
  "username": "string",
  "password": "string"
}
Response examples (200)
{
  "sessid": "string"
}