curlRequest()
curlRequest(string $url, string|null $post_data = null, string|null $http_header = null) : string
Parameters
| string |
$url |
URL to send the request to |
| string|null |
$post_data |
POST data to send |
| string|null |
$http_header |
HTTP header to set |
Returns
string
— Returns http(s) response