Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 42369 invoked from network); 1 Mar 2010 22:08:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 22:08:27 -0000 Received: (qmail 58110 invoked by uid 500); 1 Mar 2010 22:08:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 58069 invoked by uid 500); 1 Mar 2010 22:08:24 -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 58060 invoked by uid 99); 1 Mar 2010 22:08:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 22:08:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.220.209 as permitted sender) Received: from [209.85.220.209] (HELO mail-fx0-f209.google.com) (209.85.220.209) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 22:08:14 +0000 Received: by fxm1 with SMTP id 1so3068011fxm.35 for ; Mon, 01 Mar 2010 14:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=LLvE5r8yFpgtkDNLSOiENFM7bsY8KtZyY2MaZzOA0nk=; b=boxJ8onflhWyWc63hMMlmUAvp/hgIAqghZYuGX8/ulbDuGjWtg8N0ti3wuGdZxN3Hy 11nmlagWlaS0jP7Kg1fyYPaJ5ekOy8C/3iprKoiWJ4/CTPaxfe3b48ki3+CPMLY7OpEZ MfNwHBs4y2RDAzUxV5TtH7Mvy5WNZTQepv3FE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=J9Wgw3XNd8uzXf6TUK8FQWbVdavpWUwaKFQUKT7qN+GSzYeJwHSMlZd35H1/x+oDld S7gcJJvmT3BYlfO6kbHbrAHYU3B0WM2uYb9Vq1sWPxgH+L7CCi9lJdfndLk/CstEv0HI 09vqzkqhyYgp8WvP//OmLc+LmSx6dGJg6+eBU= Received: by 10.223.81.89 with SMTP id w25mr5726520fak.25.1267481273975; Mon, 01 Mar 2010 14:07:53 -0800 (PST) Received: from ?10.0.1.213? (h-74-1-186-35.snfccasy.static.covad.net [74.1.186.35]) by mx.google.com with ESMTPS id z15sm6151711fkz.51.2010.03.01.14.07.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 01 Mar 2010 14:07:52 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Show Functions From: J Chris Anderson In-Reply-To: <7F8CE3DE-0F08-4B73-B8CC-F26FE82A1F3B@sourcegarden.de> Date: Mon, 1 Mar 2010 14:07:47 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <997FC84C-F22D-4A8A-9575-9A8FD91538B6@gmail.com> References: <98B3FF8A-45C2-48B0-A2EC-F710CFED33B2@sourcegarden.de> <7F8CE3DE-0F08-4B73-B8CC-F26FE82A1F3B@sourcegarden.de> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org On Mar 1, 2010, at 2:04 PM, Mario Scheliga wrote: > Hi Chris, >=20 > i thought this would be easy, but still get an error like this: >=20 > curl -vX POST = http://127.0.0.1:5984/todoapp/_design/todoapp/_show/display/27e2f1a54606f0= 883e2f8891b5bf500f > * About to connect() to 127.0.0.1 port 5984 (#0) > * Trying 127.0.0.1... connected > * Connected to 127.0.0.1 (127.0.0.1) port 5984 (#0) > > POST = /todoapp/_design/todoapp/_show/display/27e2f1a54606f0883e2f8891b5bf500f = HTTP/1.1 > > User-Agent: curl/7.19.7 (i386-apple-darwin9.8.0) libcurl/7.19.7 = zlib/1.2.3 > > Host: 127.0.0.1:5984 > > Accept: */* > > > < HTTP/1.1 405 Method Not Allowed > < Server: CouchDB/0.10.0 (Erlang OTP/R13B) > < Date: Mon, 01 Mar 2010 22:03:23 GMT > < Content-Type: text/plain;charset=3Dutf-8 > < Content-Length: 69 > < Cache-Control: must-revalidate > < Allow: GET,POST,HEAD > < > {"error":"method_not_allowed","reason":"Only GET,POST,HEAD allowed"} >=20 > am i doing something wrong? perhaps i can't see.... > GET-Method works fine .... >=20 Gotcha. I was looking at the source code for 0.11. It maybe that 0.10 is = restricted here in a way that the new version is not. Chris > greets > mario >=20 >=20 >=20 > Am 01.03.2010 um 17:47 schrieb J Chris Anderson: >=20 >>=20 >> On Feb 28, 2010, at 6:34 AM, Mario Scheliga wrote: >>=20 >>> Dear Users, >>>=20 >>> is it possible to POST Show-Functions? If yes how the docId has to = be submitted? >>=20 >> yes. just like a GET but POST. eg the path can be >>=20 >> POST /db/_design/foo/_show/bar/docid >>=20 >>>=20 >>> -- >>> Sourcegarden GmbH HR: B-104357 >>> Steuernummer: 37/167/21214 USt-ID: DE814784953 >>> Geschaeftsfuehrer: Mario Scheliga, Rene Otto >>> Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 >>> Schoenhauser Allee 51, 10437 Berlin >>>=20 >>=20 >=20 >=20 > -- > Sourcegarden GmbH HR: B-104357 > Steuernummer: 37/167/21214 USt-ID: DE814784953 > Geschaeftsfuehrer: Mario Scheliga, Rene Otto > Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 > Schoenhauser Allee 51, 10437 Berlin >=20