miller has asked for the wisdom of the Perl Monks concerning the following question:
Do anyone know of af page where I can test this ? maybe itīs because it runs on a domino-webserver ? Thanks, Milleruse HTTP::Request::Common; use LWP::UserAgent; use CGI qw(header -no_debug); $ua = LWP::UserAgent->new(); $req = POST $test, [ username => 'XXX', password => 'YYY', ]; $content = $ua->request($req)->as_string; print "content-type: text/html\n\n"; #print $content; #print $req->as_string; $page = $ua->request($content); # *** TEST *** if ($page->is_success) { print $page->content; } else { print $page->error_as_HTML; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I canīt seem to get the https part right :-(
by Aighearach (Initiate) on Jun 21, 2001 at 03:51 UTC |