
Steerpike
Deleted
Mar 24, 2000, 5:20 PM
Post #1 of 2
(1284 views)
|
Simulating a POST action
|
Can't Post
|
|
Hi and many thanks in advance to one and all What I would like to do is have a program which parses the HTML of a webpage, the webpage being retrieved using LWP::Simple and the get command. However, if the webpage being retrieved was generated by a CGI script given certain query data, how can I pass data to the script if it requires the POST action to be used? Obviously for a GET action I would include the data in the URL I requested, eg: use LWP::Simple; $HTML=get("http://www.example.com/example.cgi?Name=Dirk"); But how can I run the script using the POST action rather than GET? Thanks all
|