title: Curl giving 503 Service Unavailable in response
body: <p>My URL &quot;www.example.com&quot; is working in browser but when I get response via curl of URL &quot;www.example.com&quot; I get 503 service unavailable response.</p>
  <p>I used the following code:</p>
  <pre><code> $url = 'http://www.example.com';
     $curl_handle = curl_init();
      curl_setopt($curl_handle, CURLOPT_URL, $url);
      curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 0);
      curl_setopt($curl_handle, CURLOPT_TIMEOUT, 0);
      curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE);  
      curl_setopt($curl_handle, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); 
      curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, 1);
      curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, TRUE);
      $JsonResponse = curl_exec($curl_handle);
      $http_code = curl_getinfo($curl_handle);
      print_r($http_code);die;
  </code></pre>