Re: lwp POST and proxies




Hi,
there is no post fields, and the link dont appear a post method.
try use get method

# my $req = HTTP::Request->new(POST => "http://10.10.20.100/login.jsp?
# UserID=$name&Password=password&x=27&y=28");
# $req->content_type('application/x-www-form-urlencoded');
#
# my $response = $browser->request($req);
my $response = $browser->get("http://10.10.20.100/login.jsp? UserID=
$name&Password=password&x=27&y=28");


if it is a real post method then

my $req = HTTP::Request->new(POST => "http://10.10.20.100/
login.jsp",
["UserID",$name,"Password","password","x","27","y","28"]);
#array with field name, values
.