title: Unable to get response of google maps by php curl
body: <p>Hi i am trying to get response of reverse geocoding google maps api by php curl. 
  My code is </p>
  
  <pre><code>$url="https://maps.googleapis.com/maps/api/geocode/json?latlng=22.999,72.582&amp;sensor=false&amp;key=myAPIKey";
      $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, $url);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      $response1 = curl_exec($ch);
      print_r($response1);
      exit;
  </code></pre>
  
  <p>i am getting nothing.</p>