GET
/user/loginLog in a user
Authenticates a user with a username and password. Supply the credentials as query parameters; the password is sent in clear text.
usernamestringoptional
The username to use for login.
passwordstringoptional
The password to use for login, sent in clear text.
200Returns a string value when login succeeds.
400Returned when the supplied username or password is invalid.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned for an invalid username or password. Provide username and password as query parameters; the password is expected in clear text.