incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: CouchDB: POST Data with Update Handler
Date Mon, 18 Nov 2013 14:15:59 GMT
See https://wiki.apache.org/couchdb/Document_Update_Handlers#Request,
I think req.body is what you're after.

B.



On 18 November 2013 14:04, Hank Knight <hknight555@gmail.com> wrote:
> I understand that I can pass information using an update handler like this:
>
> http://127.0.0.1:5984/my_database/_design/my_designdoc/_update/in-place-query/mydocId?field=title&value=test
>
> Is there a way to use POST data with an update handler?
>
> I would like to post this data:
> {
>    "hello": "world",
>    "x": 123
> }
>
> through an update handler.
>
> Thanks.

Mime
View raw message