Hello, i need help translating PHP curl Request in c#:
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, „POST“);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIE, $str_cookie);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
‚Content-Type: application/json‘,
‚x-http-method-override: GET‘,
$ID)
);
//Contains the JSON file returned from EA
$json_data = curl_exec($ch);
curl_close($ch);
can anyone help out?