Cant Login using API

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
kullboys
Posts: 1
Joined: Tue Mar 12, 2019 4:39 am

Cant Login using API

Post by kullboys » Tue Mar 12, 2019 4:43 am

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.

Post Reply