"get_page_content_Byid", "PageId" => 7 ); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $curl_post_data); $curl_response = curl_exec($curl); curl_close($curl); $result_page = json_decode($curl_response, true); // print_r($result_page); ?>