"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=fdsaf&bar=jk%3Blasdf The "variables" are passed in the body of the request. You can just string them together, <var>=<val>[&<var>=<val>]... doing character replacement as described in the RFCs (hint: write your job in perl and use the CGI module which includes uri_escape()). Chris wrote: > 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 like snarf for downloading pages, but I need to actually post > some data to a server. > > Anyone have any information on ways to do this? I must admit that I don't > know too much about http - expecially cgi stuff. > > Thanks for any help, > > Chris > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Jens B. Jorgensen [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]