incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject Re: Fetch multiple Documents with a single request
Date Thu, 14 Oct 2010 09:01:25 GMT
On Thu, Oct 14, 2010 at 10:54 AM, Peter Frisch <> wrote:
> I was very happy to find the apache wiki page about fetching bulk documents with one
request. Unfortunately I always receive a error message claiming that my request was no valid
JSON. After staring at my request for half an hour I still can't find a malformed JSON there:
> curl -d '{"keys":["1-7987539b0f7c047728dbd21b16fe442e"]}' -X POST http://whatever/codebluebig/_all_docs
> Has anyone an idea what the problem might be?

-H "Content-Type: application/json" is missing.

- benoƮt

View raw message