$crmUrl = 'http://161.202.21.7/asci/uat';$postData = array("year" => "2017",);$postData = json_encode($postData);$url = $crmUrl.'/index.php?entryPoint=asciwebsiteapi';$ch = curl_init($url);curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch,CURLOPT_HTTPHEADER, array('API_KEY:asci@w3b$it3','API_ACTION:Fetch','API_MODULE:Programmes','Content-Type: application/json','Content-Length: ' . strlen($postData)) );$result = curl_exec($ch);curl_close($ch);echo $result;nmnn