GET/user/login

Log in a user

Authenticates a user by submitting login credentials to the user service. Supply username and password as query parameters to attempt login. The successful response contains a string.

2 parameters
usernamestringoptional
The username to authenticate.
passwordstringoptional
The password to authenticate, sent as clear text.

3 status codes
200Returns a string response for the login operation.
400Returned when the supplied username or password is invalid.
defaultReturned when an unexpected error occurs.

Error handling

A 400 is returned when the supplied username or password is invalid. Supply username and password as query parameters to authenticate the account.