AnsweredAssumed Answered

API v2 Asset Management:Unix/Cisco IOS Record

Question asked by R M on Nov 6, 2012
Latest reply on Nov 7, 2012 by R M

Has any one been able to exrecise this API (Page 215 of QualysGuardAPIv2 Guide):

Sample 2. Use the URL shown below to update the record ID 333 (Unix or Cisco IOSrecord) by adding new IP addresses:

 

       curl -H 'X-Requested-With: Curl Sample' -u 'username:password'
       'https://qualysapi.qualys.com/api/2.0/fo/auth/unix/?action=update&ids=333&add_ips=10.10.10.200-10.10.10.240'

 

 

Per previous discusison, this should be a POST request but that did not work either. A few other APIs seem to work fine.
(I know there is a CPAN Perl Module as well but I would like to use the curl calls)

 

 

Thanks

- MVR

Outcomes