Session Management
URL
POST /cyber-ai/login
Request Data
login=<username>&password=<password>
Response – if successful, a session is created and a cookie with the session data is returned to the client
Response codes:
Status
Description
302
Found (login success)
401
Unauthorized (login failure)
URL
POST /cyber-ai/logout
Request Data
None
Response codes:
Status
Description
200
Success
401
Unauthorized