post
string|boolean public \Bitrix\Main\Web\HttpClient::post( string $url, array|string|resource $postData = null );
Non-static method executes POST query.
Parameters
Parameter | Description | Version |
---|---|---|
$url | Absolute URL as follows: "http://user:pass@host:port/path/?query" . | |
$postData | POST/PUT query entity. When it is a resource handler, data is read directly from stream. |
Example
© «Bitrix24», 2001-2024