in reply to Re^3: Redirect Page with POST
in thread Redirect Page with POST
Only thing is, i remember reading somewhere that there might be some problems with headers and cookies etc. I'm testing it right now and cant see anything obvious. Caution flags anyone?require LWP::UserAgent; $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(POST => $forwarded_url); $req->content_type('application/x-www-form-urlencoded'); $req->content($parameters_from_input); my $res = $ua->request($req); print "Content-type: text/html\n\n"; print $res->content; exit;
|
|---|