$url, CURLOPT_RETURNTRANSFER => true, //CURLOPT_POST => true, //CURLOPT_POSTFIELDS => http_build_query([]) )); $response = curl_exec($myCurl); curl_close($myCurl); return $response; }