📋 Endpoint Details
Method:
POST
Path:
/api/team/login
Authentication:
Not required
📤 Request Body
{
"username": "string (required)",
"password": "string (required)"
}
📥 Response Example
{
"success": true,
"message": "Team login successful",
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}
💡 Usage Tips
cURL Example:
curl -X POST \
http://localhost:3000/api/team/login \
-H "Content-Type: application/json" \
-d '{
"username": "string (required)",
"password": "string (required)"
}'