title: Curl_exec return null in php
body: <p>I have a problem to get the data using curl operation. Here i hide the token, If i use the url only in my browser then it returns the data but here its null.</p>
  
  <pre><code>&lt;?php 
  $token = "TOKEN"; //the actual token hidden
  $url = "https://crm.zoho.com/crm/private/xml/Leads/getRecords?authtoken=".$token."&amp;scope=crmapi";
  $ch = curl_init();
  
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_HEADER, 0);
  
  $result = curl_exec($ch);
  curl_close($ch);
  echo $result; //does not return anything
  ?&gt;
  </code></pre>
  
  <p>Where i do mistake please help me.</p>