Authentication to your Qualys account with valid Qualys credentials is required for making Qualys API requests to the Qualys API servers.
The application must authenticate using Qualys account credentials (user name and password) as part of the HTTP request. The credentials are transmitted using the “Basic Authentication Scheme” over HTTPS.
For information, see the “Basic Authentication Scheme” section of RFC #2617:
http://www.faqs.org/rfcs/rfc2617.html
The exact method for implementing authentication will vary according to which programming language is used.
The allowed methods, POST and/or GET, for each API request are documented with each API call in this user guide.
Sample request - basic authentication
curl -u "USERNAME:PASSWORD" -<qualys_base_url>/qps/rest/3.0/count/was/webapp>