JMediawikiHttp::post
Method to send the POST command to the server.
Signature
public function post(string
$url,
[mixed
$data = null,
[array
$headers = 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.
Returns
- JHttpResponse