title: How do I connect to the PredictIt API (type application/xml) using PHP/CURL?
body: <p>This code is not returning anything:</p>
  
  <pre><code>&lt;?php
  $ch = curl_init();
  $header = array('Contect-Type: application/xml', 'Accept: application/xml');
  $options = array(
      CURLOPT_URL =&gt; 'https://www.predictit.org/api/marketdata/ticker/RNOM16',
      CURLOPT_HTTPHEADER =&gt; $header,
      CURLOPT_HTTPAUTH =&gt; CURLAUTH_BASIC,
      CURLOPT_RETURNTRANSFER =&gt; TRUE
  );
  curl_setopt_array($ch, $options);
  $data = curl_exec($ch);
  curl_close($ch);
  
  echo '&lt;p&gt;Data&lt;/p&gt;';
  print_r($data);
  ?&gt;
  </code></pre>
  
  <p>Does anyone know what's wrong?</p>
  
  <p>Thank you.</p>