couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "HTTP Bulk Document API" by KevinIlchmannJørgensen
Date Wed, 13 May 2009 23:59:22 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by KevinIlchmannJørgensen:
http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API

------------------------------------------------------------------------------
  For example (with curl):
  {{{
  $ DB="http://127.0.0.1:5984/mydb"
- $ curl -v -d '{"docs":[{"key":"baz","name":"bazzel"},{"key":"bar","name":"barry"}]}' -X
POST $DB/_bulk_doc
+ $ curl -v -d '{"docs":[{"key":"baz","name":"bazzel"},{"key":"bar","name":"barry"}]}' -X
POST $DB/_bulk_docs
- $ curl -v -d @your_file.json -X POST $DB/_bulk_doc 
+ $ curl -v -d @your_file.json -X POST $DB/_bulk_docs 
  }}}
  
  Doc formats below are as per CouchDB 0.9.x.

Mime
View raw message