AnsweredAssumed Answered

API Error message

Question asked by Kevin Ryan on Jul 23, 2019
Latest reply on Jul 23, 2019 by Kevin Ryan

API Question.  I am attempting the following via curl and not having any luck 

 

curl -u "myuserid:mypass123" -H "X-Requested-With:curl"-d POST "Action=create&ips=127.0.0.1&port=80&fqdn=www.abc123abc.com" https://qualysapi.qg3.apps.qualys.com/api/2.0/fo/asset/vhost/

 

 

I need to create several  hundred virtual hosts and I am trying to get the above syntax to work.  However,  I get the message back parameter action has invalid value please specific one of the following list, create, update, etc.

 

Thanks ! 

Outcomes