Request
Body Params application/x-www-form-urlencodedRequired
Responses
{
"success": true,
"message": "Login successful.",
"data": {
"token": "6|QJaJWVXfEvZ210C0hsutA16QHUYkhjqK43hXPaiebb4ac757",
"user": {
"id": 2,
"name": "Ahmed Hassan",
"email": "ahmed.hassan@foodguard.com",
"role": "inspector",
"branch_id": 1
}
}
}
Modified at 2025-12-18 10:13:33