On Fri, Feb 17, 2012 at 10:15 AM, john.tiger <[email protected]> wrote: > On 02/16/2012 08:00 PM, Alexander Shorin wrote: >> >> I suppose that you'd like to create multiple documents at one. Than >> you have to use bulk api: >> >> http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API#Modify_Multiple_Documents_With_a_Single_Request > > > yes but the _bulk_docs docs say must have {"docs": [.....]} - this seems > wrong - if an array of json objects is correct json syntax, then couchdb > should be able to import it. >
JSON array might be valid from syntax point, but it is invalid from point of expected data for /db/_bulk_docs resource. -- ,,,^..^,,,
