Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: man HTTP::Request::Common

by dwatson06 (Friar)
on Jul 03, 2002 at 17:07 UTC ( #179232=note: print w/replies, xml ) Need Help??


in reply to man HTTP::Request::Common

I had this problem also. If the server that you are sending a POST or GET require the request to be in a specific format. You have two choices. Go into the scripts you are calling and modify the output or use Net::HTTP (or Net::SSL for encryption). When you are calling content from HTTP::Request::Common, it inserts it as content=data unless you wrap the content in brackets.
There are some examples at the bottom of the modules along with documentation.
Hope this helps.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://179232]
help
Chatterbox?
[zentara]: TGIF, I'm blowing my mind watching Casimir Effect & Black Holes - Sixty Symbols I love 60 Symbols. :-)
zentara ..oO the vacuum is teeming with photons and micro-blackholes
zentara .. and probably NSA bugs ;-)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-06-23 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (552 votes). Check out past polls.