title: php - curl empty response while browser display json output
body: <pre><code>$ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, 'https://itunes.apple.com/search?term=Clean%20Bandit%20-%20Rather%20Be&amp;entity=song&amp;limit=10&amp;lang=fr_fr');
      curl_setopt($ch, CURLOPT_HEADER, true);
      curl_setopt($ch, CURLOPT_POST, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      if(curl_errno($ch))
          echo 'Curl error: '.curl_error($ch);
      $CurResult = curl_exec($ch);
      curl_close($ch);
  
      echo 'Result:'.$CurResult;
  </code></pre>