Hi All,I want to call a ASP file from my PERL script and want to check the response that i get from the ASP file.Can you help me how to implement this?
Hi,Thanks for your reply but I am still not able to run the asp file.Actually my ASP file when run on a browser through localhost displays a XML on the browser.I need to get the content of this xml in my perl script and check for some parameters.following is the code wat i used as per your reply and everytime i am getting faliureuse HTTP::Request;use LWP::UserAgent;use LWP:imple;$url = "http://localhost/admin/verify.asp?folder=nav";my $ua = LWP::UserAgent->new();my $request = HTTP::Request->new( 'GET', $url );my $response = $ua->request( $request );if ($response->is_success) { print "success"; # Process $response->content;}else {print "Failure ";print $response->status_line; # Process Failure}
Hi,Thanks for your inputs.I tried rendering the URL in browserwindow from TS and its working fine.But when I am trying it through perl its generating the error as 401 access denied.