start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: Request Chapter 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: Request Perl in a Nutshell Next: 19.7 Win32::Internet
Reference: Request Book Index 19.7 Win32::Internet

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.