title: curl_setopt_array for USPTO records returns "Internal Sever Error1"
body: <p>I'm trying to test retrieving an USPTO dataset for a number of records for oa_rejections using their open API:
  <a href="https://developer.uspto.gov/ds-api-docs/index.html?url=https%3A//developer.uspto.gov/ds-api/swagger/docs/oa_rejections.json/v2#!/oa_rejections/perform_search" rel="nofollow noreferrer">https://developer.uspto.gov/ds-api-docs/index.html?url=https%3A//developer.uspto.gov/ds-api/swagger/docs/oa_rejections.json/v2#!/oa_rejections/perform_search</a></p>
  <p>I have made the following php script. It ends up displaying just &quot;Internal Server Error1&quot;:</p>
  <pre><code>&lt;?
  $params=['criteria'=&gt;'*%3A*', 'start'=&gt;'100', 'rows'=&gt;'3']; 
  $defaults = array( 
  CURLOPT_URL =&gt; 'https://developer.uspto.gov/ds-api/oa_rejections/v2/records', 
  CURLOPT_POST =&gt; true, 
  CURLOPT_POSTFIELDS =&gt; $params, 
  ); 
  $ch = curl_init(); 
  curl_setopt_array($ch, $defaults); 
  $contents = curl_exec($ch);
  echo $contents;
  ?&gt;
  </code></pre>
  <p>Is there anything vital or obvious that I'm missing, or perhaps I cannot use this syntax at all to retrieve this data?</p>