Thread LWP::UserAgent HTTPS Post (15 answers)
Opened by the-loader at 2007-01-19 19:01

the-loader
 2007-01-19 19:01
#73319 #73319
User since
2006-08-28
25 Artikel
BenutzerIn
[default_avatar]
hi,
ich bin schon am verzweifeln... leider bekomme ich es nicht hin einen post request zu machen...

hier mein ansatz:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;
use LWP::UserAgent;
use Crypt::SSLeay;
my $ua = LWP::UserAgent->new;

my $resp = $ua->post( 'https://www.paypal.com/cgi-bin/webscr?cmd=_login-run',
{ "login_email" => "test\@test.net",
"login_password" => "123456",
"submit" => "Log In"});
my $inhalt = $resp->content;

open(OUT,">html.htm");
print OUT "$inhalt";
close(OUT);


ich weis leider nicht was ich falsch mache...

kann mir mal bitte einer helfen?

thx

cu

View full thread LWP::UserAgent HTTPS Post