title: Error Creating Folder on Dropbox using API
body: <p>Trying to create the folder &quot;newfolder&quot; in the exiting folder &quot;test&quot;. Using PHP and cURL.</p>
  <pre><code>$cheaders = array('Authorization: Bearer '.$token,
              'Content-Type: application/json',
              'Dropbox-API-Arg: {&quot;autorename&quot;:false,&quot;path&quot;:&quot;/test/testfolder&quot;}');
  $ch = curl_init('https://api.dropboxapi.com/2/files/create_folder_v2');
  curl_setopt($ch, CURLOPT_HTTPHEADER, $cheaders);
  curl_setopt($ch, CURLOPT_PUT, true);
  curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
  $response = curl_exec($ch);
  echo $response;
  </code></pre>
  <p>This is the error returned:
  Error in call to API function &quot;files/create_folder:2&quot;: Unexpected HTTP headers: &quot;Dropbox-Api-Arg&quot;1</p>
  <p>(The $token being passed is fine. I'm using it for other upload calls without issue.)</p>