incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hank Knight <hknight...@gmail.com>
Subject CouchDB: POST Data in Update Handler
Date Sun, 03 Nov 2013 21:29:41 GMT
I can access query data and apply it in an update handler like this:
function(doc, req) {
 doc.xyz = req.query.xyz;
 return [doc, 'Updated'];
}

This allows me to update the value of xyz like this:
?xyz=123

Is there any way to access data sent via POST?

Mime
View raw message