Closed cb372 closed 12 years ago
In Example 3-18 we use a POST to query CouchDB, passing the required keys as JSON in the body.
When I tried running this, CouchDB 1.1.1 replied with 415 Unsupported Media Type. Setting the Content-Type header in the request fixed it.
415 Unsupported Media Type
In Example 3-18 we use a POST to query CouchDB, passing the required keys as JSON in the body.
When I tried running this, CouchDB 1.1.1 replied with
415 Unsupported Media Type
. Setting the Content-Type header in the request fixed it.