On Wed, 3 Jun 1998, Chris wrote:
Sorry, I think we've got confussed. I know perl very well, and as
Ralph said it has proved invaluable. However, what I want to do is
~send~ something to a html server via a POST operation.
what you want is LWP (the libwww-perl package).
I have used this to
Chris wrote:
On Tue, 2 Jun 1998, Jens B. Jorgensen wrote:
POST requests should be quite simple to do in perl. Here's what a post
request
looks like from the client:
POST / HTTP/1.0
Content-type: application/x-www-form-urlencoded
Content-length: 24
It's relatively easy to write a program to do this, although you might
need to scroung around for routines to do the URL Encoding of the
post data. However:
Perl is your friend. look at the LWP module.
If you can get it, O'Reilly has a Web Client Programs with Perl book
that covers this topic.
Hi all,
This is off the topic, but I figured I could ask anyhow.
I have to periodically access an post type form on a web page, and I would
like to do this automatically (ie. write a script/program to do it, rather
than having to load up netscape and do it by hand). I've played with
programs
POST requests should be quite simple to do in perl. Here's what a post request
looks like from the client:
POST / HTTP/1.0
Content-type: application/x-www-form-urlencoded
Content-length: 24
foo=fdsafbar=jk%3Blasdf
The variables are passed in the body of the request. You can
When Chris wrote, I replied:
I'd use pure perl for this, but if you don't already know perl5
the learning curve would be pretty steep. If you commit to the
learning, though, you'll have expanded your toolkit in a BIG way.
Hi all,
This is off the topic, but I figured I could ask anyhow.
On Tue, 2 Jun 1998, Jens B. Jorgensen wrote:
POST requests should be quite simple to do in perl. Here's what a post
request
looks like from the client:
POST / HTTP/1.0
Content-type: application/x-www-form-urlencoded
Content-length: 24
foo=fdsafbar=jk%3Blasdf
7 matches
Mail list logo