User Login Endpoint
GET /api/user/login/<username>/<password>
Takes the user's login information and returns the user's user ID, which can be used to identify their tests, etc. Accessible from http://url/api/login.
Request Parameters
username
: The username of the user.
password
: The password of the user.
Responses
200 OK
: Successfully retrieves the user ID.
401 Unauthorized
: Indicates that the login credentials are invalid.
500 Internal Server Error
: Indicates an issue with accessing the database.
Example Request
curl -X GET "https://url/api/user/login/example_user/example_password"
Example Response
{
"user_id": "1234567890",
"secret": "abcdefghijklmnopqrstuvwxyz"
}