Login
This endpoint allows a user to log in by providing their username and password.
Header parameters
AuthorizationstringRequired
Bearer token for authentication.
Body
usernamestringRequiredExample:
user123passwordstringRequiredExample:
securepassword123Responses
200
Login successful
*/*
statusintegerOptional
messagestringOptional
400
Invalid login credentials
*/*
post/auth/login
POST /backend/api/auth/login HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: */*
Accept: */*
Content-Length: 53
{
"username": "user123",
"password": "securepassword123"
}{
"status": 1,
"message": "Logged in successfully"
}
