title: How to POST a XML file using cURL?
body: <p>I'm using a web interface that allows me to post stuff over a cURL request.</p>
  <p>A sample post looks like this:</p>
  <pre><code>&lt;status&gt;A note&lt;/status&gt;
  </code></pre>
  <p>But whenever I try to send this, it seems to not accept the XML</p>
  <pre><code>curl http://website.com/update -d '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;status&gt;test&lt;/status&gt;' -H 'Accept: application/xml' \ -H 'Content-Type: application/xml'  -u username:password
  </code></pre>
  <p>I can do any other type of requests, just sending this XML doesn't seem to work, am I doing something wrong here?</p>