Bulk Docs upload needs an example #437

pulkitsinghal opened this Issue Oct 18, 2011 · 2 comments


None yet
3 participants

In order to make the following section more consumable/actionable:

I think that something as simple as the following set of instructions will go a really long way:

  1. To try a bulk upload from command-line run:
    curl -d '{"docs":[{"key":"baz","name":"bazzel"},{"key":"bar","name":"barry"}]}' -X POST http:/

  2. To try a bulk upload from a file, make sure to edit the json file such that it has {"docs":[ in the starting and ]} in the ending, then you may run:
    curl -d @your_file.json -X POST http:/

olupotd commented Dec 2, 2013

try this in your terminal


curl -d @list.json -H "Content-Type:application/json" -X POST $DB/_bulk_docs

Specify the content type as well just incase

What is "docs"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment