Gorby has asked for the wisdom of the Perl Monks concerning the following question:
Hello Wise Monks. Is there a way for me to execut http GET and POST commands using a PERL module? I know LWP:Simple can do that quite efficiently, but what I need is a module that can connect to a port other than port 80, and still do the usual http requests like GET and POST, etc. Can you help me?
Thanks in advance.
Gorby
Re: Get & Post
by thraxil (Prior) on Feb 08, 2004 at 17:55 UTC
|
# request example.foo from port 8080 of localhost
get("http://localhost:8080/example.foo");
am i missing something?
| [reply] [d/l] |
Re: Get & Post
by waswas-fng (Curate) on Feb 08, 2004 at 17:56 UTC
|
LWP takes port encoded URLs, http://www.sun.com:8080 goes to port 8080. | [reply] |
Re: Get & Post
by Abigail-II (Bishop) on Feb 08, 2004 at 17:52 UTC
|
LPW comes with utilities called "GET" and "POST". Guess
what they do?
Abigail | [reply] |
|