My question is how I can do the below example
with POST instead of GET? I want to use some
variables like: name=$name&from=$from
In the test script below I could add them in
this line "HTTP::Request->new('GET', $url),"
But when I use POST it doesn't work...
I don't have to use this...
Oki, Thx.
I've read the CGI.pm docs and I didn't find any parameters
to set the referer for redirect() :(
So I start to get the picture, it seems it's impossible.
But why should it be so hard to make a request to an url with certain datas, headers and simply stay at that url??
I mean LWP...
Thx goBoating!
That explains why I haven't been able to find any function/support for this in LWP.
So can I do like this if I want my own
"referer" added to the redirect (?) :
print $query->redirect(-uri=> $secure_url>,
-Referer=> $requested_from)...
Hi all!
First of Im new to perl/cgi and I've just
started to do some tiny apps. Now I have
run in to a problem.
I want to be able to redirect my request (using LWP) to
another domainname with e.g., certain headers and datas.
I manage to do request to other domains but when I end it still...
Hi!
I don't know if you solved this but anyway I use:
use HTTP::Headers together with
$request->header("Referer" => $your_referer);
regards
"John"
Hi all!
First of Im new to perl/cgi and I've just
started to do some tiny apps. Now I have
run in to a problem.
I want to be able to redirect my request (using LWP) to
another domainname with e.g., certain headers and datas.
I manage to do request to other domains but when I end it still...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.