LoginAPI always returning error: "'username'"


I am verifying /api/loginAPI with the contents:

“username”: “newadmin”,
“password”: “123456”

and everytime the response is
“{“userID”: 0, “loginStatus”: 0, “error_message”: “‘username’”}”

other API functions are working well and I am able to create a user/website and able to execute other functions with this same user “newadmin”.

is there anything I am missing with this API?


This seems to be a bug.

This is not a bug, the header has to header Content-Type:application/x-www-form-urlencoded

Please close this now