title: Curl request not working to use hasoffers api
body: <p>I am using curl request to hit the has-offers conversion url from my sevrver with the help of curl but it is not working.But when I call the same URL using a browser, it works.Is they can block CURL requests?.I am not getting why, is there any port blocking issue.</p>
  
  <p>Below is php code to call url using curl request.</p>
  
  <pre><code>&lt;?php
  function curl_get_contents($url)
  {
  $ch = curl_init();
  $timeout = 5;
  
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_HEADER, false);
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
  
  $data = curl_exec($ch);
  
  curl_close($ch);
  
  return $data;
  }
  
  $url="http://paravey.go2cloud.org/aff_l?offer_id=12&amp;aff_id=1000";
  $contents = curl_get_contents($url);
  echo $contents;
  ?&gt;
  </code></pre>
  
  <p>Please help me thanks in Advance</p>