incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject Re: Referer header required for POST requests?
Date Fri, 30 Mar 2012 16:42:19 GMT

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 ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message