This endpoint is used to log in a user.
None
{
"email": "string",
"password": "string"
}None
{
"success": true,
"message": "Login successful"
}Example:
| Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request. |
| 429 | Too Many Requests |
| 500 | Internal Server Error. |
token(optional): JWT token used for authentication if the user successfully logged in.