Denzil Kruse wrote: > Hi all, > > I'm trying send an https post: > > my $url = "https://some.secure.server/secure.dll"; > > my $ua = LWP::UserAgent->new; > > # assemble the request > # > my $request = HTTP::Request->new(POST => "$url"); > $request->content_type('application/x-www-form-urlencoded'); > $request->content($content); > > # send the request and get the result > # > my $result = $ua->request($request); > > print $result->as_string; > > But I'm getting this error: > > 501 (Not Implemented) Protocol scheme 'https' is not > supported > > Looking on cpan, it looks like you do an https post > the same way as a http post, but I must be missing > something. > > Can anyone help? > > Thanks, > Denzil >
Have you read: http://search.cpan.org/src/GAAS/libwww-perl-5.803/README.SSL And do you have an appropriate SSL interface installed? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>