Oops, I was equating POST with creating a new document and PUT with updating one. I didn't realize that PUT should always be used when specifying a document URL. That works.
Thanks for your help! - Mike On Fri, Mar 30, 2012 at 9:42 AM, Jens Alfke <[email protected]> wrote: > > On Mar 29, 2012, at 1:40 PM, Michael Parker wrote: > > POST /test_db/10 HTTP/1.1 > Connection: keep-alive > Content-Type: application/json > Content-Length: 168 > > I get the reply: > > {"error":"bad_request","reason":"Referer header required."} > > You're sending POST to a document URL, which as far as I know isn't valid. > Did you mean to use PUT? Or to POST to /test_db ? > > —Jens
