On 18. November 2013 at 15:05:05, Hank Knight (hknight...@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.
>  

Yes.

http://wiki.apache.org/couchdb/Working_with_Forms
https://couchdb.readthedocs.org/en/latest/couchapp/ddocs.html#update-functions

Note for POST you can’t use the docname, for that use PUT instead.

--  
Dave Cottlehuber
Sent with Airmail(http://airmailapp.com/tracking)

Reply via email to