title: CouchDB cURL Windows Command Line Invalid JSON
body: <p>Running the following command from a Windows command line using cURL attempting to post a new document to an existing CouchDB database (named test) fails:</p>
  
  <pre><code>curl -H "Content-Type: application/json" -X POST "http://127.0.0.1:5984/test" -d {"valid":"json"}
  </code></pre>
  
  <p>It returns the error:</p>
  
  <pre><code>{"error":"bad_request","reason":"invalid_json"}
  </code></pre>
  
  <p>The JSON is valid so what gives?</p>