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