Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
[Discipulus]: their
erix counts their toes

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-05-23 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?