Here's the code that I'm using, and I'm not sure why it doesnt return me XML result of Host List for that asset group. instead it redirect me to here https://qualysguard.qualys.com/qwebhelp/fo_help/index.htm
Can anyone help me ?
I'm not entirely sure what I did wrong here.
my $username = "obviously";
my $passwd = "thisisafake";
my $browser = LWP::UserAgent->new;
$browser->credentials( $apiurl.':443','MSP Front Office', $username => $passwd);
$browser->agent("libwww - script");
my $response = $browser->get($url);
my $content = $response->content;
open( XMLOUT, ">output.xml" );
print XMLOUT $content;
close( XMLOUT );