GET
/user/loginLog a user into the system
Authenticates a user by validating their username and password credentials. On successful authentication, returns a session token or confirmation string. A 400 is returned when credentials are invalid or missing.
usernamestringoptional
The user's login name.
passwordstringoptional
The user's password in clear text.
200Returns a session token or confirmation string indicating successful authentication.
400Returned when the username is not registered or the password is incorrect.
defaultUnexpected error
Error handling
Both username and password are required for authentication. A 400 is returned when the username is not registered or the password is incorrect.