Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

need advice on choosing http POST module

by mr2 (Friar)
on Aug 11, 2002 at 20:34 UTC ( [id://189331]=perlquestion: print w/replies, xml ) Need Help??

mr2 has asked for the wisdom of the Perl Monks concerning the following question:


i need to make a simple script that takes my info and posts
it to some POST method using script on some remote server

my question is "what modules can be used for it?"
(& if it's not hard ... an example would be verry helpfull)

thnx
  • Comment on need advice on choosing http POST module

Replies are listed 'Best First'.
Re: need advice on choosing http POST module
by virtualsue (Vicar) on Aug 11, 2002 at 20:59 UTC
    Search this site for references to LWP with Super Search, then download it via your favorite method (or go to http://search.cpan.org if you don't have one). You should also look at perldoc for LWP. It's a very commonly used module and there is a lot of information available on how to do things with it.

    This is useful too: How to RTFM (thanks for reminding me, podmaster)

Re: need advice on choosing http POST module
by Nightblade (Beadle) on Aug 11, 2002 at 21:18 UTC
    HTTP::Request::Common

    #!/usr/bin/perl use LWP::UserAgent; use HTTP::Request::Common; $ua = new LWP::UserAgent; $res = $ua->request(POST $url, [%data]); print $res->content();

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found