Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: LWP post

by hsinclai (Deacon)
on Feb 24, 2005 at 01:09 UTC ( [id://433920]=note: print w/replies, xml ) Need Help??


in reply to LWP post

Aside from the LWP modules, the perl libwww package includes (everywhere I've seen, at least on unix) the very useful binary executables POST, GET, and HEAD, which can be used from the command line - maybe your friend was referring to the POST binary?

It does neat things:
machine# POST Usage: POST [-options] <url>... -m <method> use method for the request (default is 'POST') -f make request even if POST believes method is illegal -b <base> Use the specified URL as base -t <timeout> Set timeout value -i <time> Set the If-Modified-Since header on the request -c <conttype> use this content-type for POST, PUT, CHECKIN -a Use text mode for content I/O -p <proxyurl> use this as a proxy -P don't load proxy settings from environment -H <header> send this HTTP header (you can specify several) -u Display method and URL before any response -U Display request headers (implies -u) -s Display response status code -S Display response status chain -e Display response headers -d Do not display content -o <format> Process HTML content in various ways -v Show program version -h Print this message -x Extra debugging output

Replies are listed 'Best First'.
Re^2: LWP post
by esskar (Deacon) on Feb 24, 2005 at 01:52 UTC
    is it really a binary? on windows maschine it's just another perl script (same for get and head)
      It is a script - you're right - don't know why I remembered it as binary - thanks for setting me straight - it uses LWP::UserAgent among other things in there!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://433920]
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: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found