karayan has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I am trying to download a sharepoint calendar using LWP.
I am getting error NTLM is not supported. Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept. I think the server is using LDAP authentication. Is it possible for LWP to authenticate LDAP. Please advise. Thanks..use LWP::Simple; use LWP::UserAgent; use Data::Dumper; my $URL = 'https://calendar.host.com'; my $ua = LWP::UserAgent->new( ); $ua->credentials('http://host.com', '', 'user' => 'password'); my $req = new HTTP::Request GET => $URL; my $res = $ua->request($req); print Dumper($res);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Access sharepoint calendar using LWP
by Anonymous Monk on Mar 19, 2010 at 07:37 UTC | |
Re: Access sharepoint calendar using LWP
by Sinistral (Monsignor) on Mar 19, 2010 at 13:18 UTC | |
by Anonymous Monk on Mar 19, 2010 at 13:23 UTC | |
Re: Access sharepoint calendar using LWP
by Anonymous Monk on Oct 18, 2010 at 14:56 UTC |
Back to
Seekers of Perl Wisdom