incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: Fetch multiple Documents with a single request
Date Thu, 14 Oct 2010 09:40:37 GMT
On Thu, Oct 14, 2010 at 11:29 AM, Peter Frisch <peter.frisch@vervis.de> wrote:
> My next attempts looked like this:
>
> curl -d '{"keys":["fbd2b4d65d5d06d185ec7957abffed82", "1284,133491,420777@default"]}'
-H 'Content-Type=application/json' -X POST http://whatever/codebluebig/_all_docs?include_docs=true
>
> and
>
> curl -d '{"keys":["fbd2b4d65d5d06d185ec7957abffed82", "1284,133491,420777@default"]}'
-H "Content-Type=application/json" -X POST http://whatever/codebluebig/_all_docs?include_docs=true
>
> and still resulted in:
>
> {"error":"bad_request","reason":"invalid UTF-8 JSON"}
>
> Any other thoughts?
>


"=" != ":" (in your header declaration)

Mime
View raw message