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
marphlap
Posts: 4
Joined: Mon Nov 12, 2018 2:30 am

Cant Login using API

Post by marphlap » Mon Nov 12, 2018 7:51 pm

Sorry I am using EVE!


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"}' http://192.168.200.251/api/auth/login

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

Re: Cant Login using API

Post by Uldis (UD) » Tue Nov 13, 2018 8:05 am

visit our live help desk mate
http://www.eve-ng.net/live-helpdesk

use your google account or create new for chat

UD

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

Re: Cant Login using API

Post by marphlap » Tue Nov 13, 2018 5:11 pm

I found a work around by using either a Linux machine or git bash on windows.

Post Reply