abdiel has asked for the wisdom of the Perl Monks concerning the following question:
Which, when run, returns the following:#! perl -w use LWP::UserAgent; use HTTP::Request; $user_agent = new LWP::UserAgent || die "couldn't create agent"; my $servername = shift; my $url = "http://".$servername."/_vti_bin/_vti_aut/author.dll"; print "$url\n"; $fp_request = new HTTP::Request('POST', $url, [method=>'list+documents%3a3%2e0%2e2%2e1706', service-name=>'', listHiddenDocs=>'true', listExplorerDocs=>'true', listRecurse=>'false', listFiles=>'true', listFolders=>'true', listLinkInfo=>'true', listIncludeParent=>'true', listDerivedT=>'false', listBorders=>'false']) || die "Coudn't make request"; $results = $user_agent->Request($fp_request) || die "I died here"; print "$results\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTTP Unblessed reference question
by stephen (Priest) on Apr 16, 2002 at 17:09 UTC | |
by abdiel (Monk) on Apr 16, 2002 at 17:26 UTC | |
|
Re: HTTP Unblessed reference question
by tachyon (Chancellor) on Apr 16, 2002 at 17:23 UTC | |
|
Re: HTTP Unblessed reference question
by Dogma (Pilgrim) on Apr 17, 2002 at 06:15 UTC |