Authentication
This endpoint allows a user to log in by providing their username and password.
Header parameters
AuthorizationstringRequired
Bearer token for authentication.
Body
usernamestringRequiredExample:
user123
passwordstringRequiredExample:
securepassword123
Responses
200
Login successful
400
Invalid login credentials
post
POST /backend/api/auth/login HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 53
"username='user123'&password='securepassword123'"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Logged in successfully</message>
</object>
Last updated