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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to