Authenticate with REST
Authenticate a user with REST.
Method
POST /EAI/api/loginAttempt to authenticate a user.
Example cURL request
curl -X POST -H
"Content-Type:application/x-www-form-urlencoded" -d "username=gordita&password=IluvTr3ats!"
https://gateway.domain.com/EAI/api/loginRequest parameters
| Parameter name | Description |
|---|---|
| username | The user's username. |
| password | The provided password. |
Example response
{
"status" : "Authentication successful."
}Returns
- status
- 200: OK for success.
Upon success, the user's session cookies are returned as well.