title: Curl php request error
body: <p>I'm trying to set up an API call through php using cURL. The API documentation gives an example for a call to this API from Java:</p>
  
  <pre><code>HttpResponse&lt;JsonNode&gt; response = Unirest.get("https://api2445582011268.apicast.io/games/1942?fields=*")
  .header("user-key", "*******")
  .header("Accept", "application/json")
  .asJson();
  </code></pre>
  
  <p>This is my attempt at converting it to a cURL call in php:</p>
  
  <pre><code>$ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, "https://api2445582011268.apicast.io/games/1942?fields=*"); 
  curl_setopt($ch, CURLOPT_HEADER, array(
      "user-key: *******",
      "Accept: application/json"
      ));
  $output = curl_exec($ch);
  echo $output;
  curl_close($ch); 
  </code></pre>
  
  <p>However my php is echoing the following output:</p>
  
  <pre><code>HTTP/1.1 403 Forbidden Content-Type: text/plain; charset=us-ascii Date: Sat, 02 Sep 2017 02:52:40 GMT Server: openresty/1.9.15.1 Content-Length: 33 Connection: keep-alive Authentication parameters missing1
  </code></pre>
  
  <p>Does anyone know how to solve this?</p>