Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Shortest/quickest way for Perl to take POST data it receives and send a POST request with this data to another URL?

by marinersk (Priest)
on Nov 05, 2013 at 17:59 UTC ( [id://1061345]=note: print w/replies, xml ) Need Help??


in reply to Shortest/quickest way for Perl to take POST data it receives and send a POST request with this data to another URL?

Hello tunafish,

I need a script to receive a POST request and then to send that same POST request to a different script. I don't mean that this is a redirect: the user interacts only with script 1; script 2 does not return any data.

I'm already confused. (For example, how does one send a POST request to a script? I can guess what you mean by that, but it messes with my head a bit.)

My best guess: You're trying to store a copy of all requests that come through the system.

If I've guessed correctly, I'd suggest you look to:

  • LWP::UserAgent
  • LWP::Simple

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1061345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found