JHttp::post
Method to send the POST command to the server.
Signature
public function post(string
$url,
[mixed
$data = null,
[array
$headers = null,
[integer
$timeout = null]]] )
Parameters
-
$url
- Path to the resource.
-
$data
- Either an associative array or a string to be sent with the request.
-
$headers
- An array of name-value pairs to include in the header of the request
-
$timeout
- Read timeout in seconds.
Returns
- JHttpResponse