GET/user/login

Log in a user

Authenticates a user with a username and password. Supply both query parameters to log in; the password is sent as clear text.

2 parameters
usernamestringoptional

The username to use for login.

passwordstringoptional

The password to use for login, sent as clear text.

3 status codes
200Returns a string containing the login result.
400Returned when the supplied username or password is invalid.
defaultUnexpected error

Error handling

A 400 is returned when the supplied username or password is invalid. Send the credentials using the username and password query parameters.