GET/user/login

Log in a user

Authenticates a user with a username and password. Supply valid credentials in the username and password query parameters to log in.

2 parameters
usernamestringoptional

The username used to authenticate the user.

passwordstringoptional

The user's password, sent as clear text.

3 status codes
200Returns a string confirming successful login.
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. Provide valid credentials using the username and password query parameters.