title: Make a curl request to a url having no file extension?
body: <p>I have following URL</p>
  
  <p><a href="http://www.davesinclairstpeters.com/auto2_inventorylist?i=37647&amp;c=12452&amp;npg=1&amp;ns=50&amp;echo=2" rel="nofollow">http://www.davesinclairstpeters.com/auto2_inventorylist?i=37647&amp;c=12452&amp;npg=1&amp;ns=50&amp;echo=2</a></p>
  
  <p>I want to retrieve content of this url using curl but everytime I make this request it is showing me error, as it is not passing required parameters</p>
  
  <p>Below is my code</p>
  
  <pre>
  
      $ch = curl_init(); // start CURL
      curl_setopt($ch, CURLOPT_URL, $json_url); 
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
      curl_setopt($ch, CURLOPT_HTTPGET, true);
      curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);      
      $response = curl_exec($ch);
  
  </pre>