$response = curl_exec($curl) code example Example: php curl_exec get response json $result = curl_exec($cURL); $result = json_decode($result,true);