email or username in the requestcurl --location --request POST 'https://prod.your-api-server.com/api/generate_token' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "string",
"password": "string"
}'{
"success": true,
"message": "Token generated successfully.",
"token": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f2",
"expires_at": null,
"user": {
"id": 1,
"name": "Admin User",
"email": "admin@admin.com"
}
}