Login error 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

Locked
marphlap
Posts: 4
Joined: Mon Nov 12, 2018 2:30 am

Login error using API

Post by marphlap » Mon Nov 12, 2018 2:34 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)."}


what command I am using:

curl -c cookie -b cookie -X POST -H "Content-type: application/json" -d '{"username":"admin","password":"unl"}' http://192.168.200.251/api/auth/login

Uldis (UD)
Posts: 5068
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Login error using API

Post by Uldis (UD) » Mon Nov 12, 2018 8:43 am

is it UNL?

marphlap
Posts: 4
Joined: Mon Nov 12, 2018 2:30 am

Re: Login error using API

Post by marphlap » Mon Nov 12, 2018 2:02 pm

Yes.

Uldis (UD)
Posts: 5068
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Login error using API

Post by Uldis (UD) » Mon Nov 12, 2018 7:37 pm

we do not support UNL sir.
Here is EVE community
topic closed

Locked