’29’,’SezonId’ =>’27’,’Donem’=>’3′);

// Setup cURL
$ch = curl_init(‘http://edost.qharfi.com/services/Public/GetSkorbord’);
curl_setopt_array($ch, array(
CURLOPT_POST => TRUE,
CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_HTTPHEADER => array(‘Content-Type: application/json’),
CURLOPT_POSTFIELDS => json_encode($postData)
));

// Send the request
$response = curl_exec($ch);

// Check for errors
if($response === FALSE){
die(curl_error($ch));
echo (‘Hata Var’);
}

// Decode the response
$responseData = json_decode($response, TRUE);
//echo var_dump(json_decode($response, true));
// Print the date from the response
//echo count($responseData[Entities]);
?>

PUAN DURUMU