Приглашаем посетить
Русская библиотека (biblioteka-rus.ru)

Reference: SendRequest

PreviousChapter 19
Win32 Modules and Extensions
Next
 

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");


PreviousHomeNext
Reference: RequestBook Index19.7 Win32::Internet