Last updated 3 months ago
This endpoint allows a user to log in by providing their username and password.
Bearer token for authentication.
user123
securepassword123
{"status":1,"message":"Logged in successfully"}
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'"
Login successful
<?xml version="1.0"?> <object> <status>1</status> <message>Logged in successfully</message> </object>