public post ( string $path, array $getParams, string | array $postData, array $headers = null, string $cookies = null ) : array | ||
$path | string | relative path from base hostUri |
$getParams | array | An associative array of get parameters |
$postData | string | array | The data to send in your post |
$headers | array | associative array of headers to include |
$cookies | string | Cookies to include |
return | array | Remote response body |