Page 1 of 1

Cant Login using API

Posted: Tue Mar 12, 2019 4:43 am
by kullboys
I am trying to login using the API but I keep getting this error message

{"code":400,"status":"fail","message":"Username not set (90011)."}


The command I am using:

curl -c cookie -b cookie -X POST -H "Content-type: application/json" -d '{"username":"admin","password":"unl"}'
Thanks.