Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: RequestChapter 19
Win32 Modules and Extensions
Next: 19.7 Win32::Internet
 

SendRequest

$request->SendRequest([postdata])

Sends an HTTP request to the destination server. postdata contains any optional data to send immediately after the request header; this is generally used for POST or PUT requests. Your request object must contain the following content header for post data to be processed. You can add the header with AddHeader:

...
$request->AddHeader("Content-Type: application/x-www-form-urlencoded");
$request->SendRequest("key1=value1&key2=value2&key3=value3");


Previous: Reference: RequestPerl in a NutshellNext: 19.7 Win32::Internet
Reference: RequestBook Index19.7 Win32::Internet



Banner.Novgorod.Ru