- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
procedure http_set_post(cp: HTTPConnection; const data: string);
Arguments:
-
cp |
Connection handle |
data |
URLEncoded POST data |
Description:
-
This function sets post data for POST request method. It should be called before sending the request. Data should contain pairs of URL-encoded variable names and values.
Usage:
-
http_set_post(cp, 'foo=bar&line=' + url_encode('A line!'));
See also:
-
http_request, url_encode.
|