I'm trying to get some report data out of VM, I've followed the API references, but everytime I try to access the API cURL returns
<!DOCTYPE SIMPLE_RETURN SYSTEM "https://qualysapi.qualys.com/api/2.0/simple_return.dtd">
I'm using the following statement to try to retrieve a list of reports - curl -H "X-Requested-With: Curl Sample" -b "QualysSession=<<TRUNCATED>>; path=/api; secure" "https://qualysapi.qualys.com/api/2.0/fo/report/?action=list"
I've also tried to add -u user:pass to the above, and --anyauth, but they still return the same result.
I've enabled access through both the gui and API for the user, and the user does not have two-factor auth or client certs enabled.
Any ideas on what I'm missing?