AnsweredAssumed Answered

API Authentication for Express Suite trial

Question asked by Anupam Kumar on Aug 25, 2014
Latest reply on Aug 26, 2014 by Eric Perraudeau

Hi I was trying to play around with APIv2, but am not able to authenticate myself.

 

Is there any restriction on the API usage for trial members ?

 

I created an account today and was trying to do basic auth as shown in the guide. I made sure to change the URL to point to the right platform and all, but the response I got was Bad Username/password.

 

 

This is what I ran:

 

[code]

curl -H "X-Requested-With: Curl Sample" -D headers

-d "action=login&username=<my_trial_username>&password=<mypassword>"

"https://qualysapi.qg2.apps.qualys.com/api/2.0/fo/session/"

[/code]

 

 

Please clarify why I am not able to auth myself.

Outcomes