Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36F079230 for ; Fri, 17 Feb 2012 02:35:43 +0000 (UTC) Received: (qmail 81909 invoked by uid 500); 17 Feb 2012 02:35:41 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 81877 invoked by uid 500); 17 Feb 2012 02:35:41 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 81867 invoked by uid 99); 17 Feb 2012 02:35:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 02:35:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of john.tigernassau@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-tul01m020-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 02:35:33 +0000 Received: by obbuo19 with SMTP id uo19so5055609obb.11 for ; Thu, 16 Feb 2012 18:35:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=zOKpXVRJ6zZ27LWK+Ktqn8TPgjVP9Ulpz15TREVaIls=; b=MCxqCr4nF19jYm65do0HgZKY1UqF4vM+l+51sok05vCghcLIGiHYYnoYcaUQ93ZnxR ODMqAxeirHWkUfMsn01UmujV2Vl7s3aRO28oxY12E/9eIvPTcu9yB5LZtKAAc9RaKmUZ SPSDK+YNkZemTt25pz9VN8WQhPV8+CV3zfcew= Received: by 10.182.38.7 with SMTP id c7mr3629157obk.44.1329446112877; Thu, 16 Feb 2012 18:35:12 -0800 (PST) Received: from [172.16.112.79] ([206.54.113.250]) by mx.google.com with ESMTPS id g13sm2184427oei.7.2012.02.16.18.35.10 (version=SSLv3 cipher=OTHER); Thu, 16 Feb 2012 18:35:12 -0800 (PST) Message-ID: <4F3DBCB4.8030900@gmail.com> Date: Thu, 16 Feb 2012 19:34:28 -0700 From: "john.tiger" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: PUT json data Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit something is wrong but seems right syntax myfile.json [{"name":"johndoe","created":"2012-02-16"},{"name":"marydoe","created":"2012-02-16"}] curl -X PUT http://127.0.0.1:5984/mydb/ -d @myfile.json -H "Content-Type:application/json" => not a valid json object