On Thu, Oct 14, 2010 at 10:54 AM, Peter Frisch <[email protected]> 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

Reply via email to