First one is correct. Check your design doc has the update handler. Also make sure you are doing a post.
Jeff Charette | Principal We Are Charette web / identity / packaging m 415.298.2707 w wearecharette.com e [email protected] On Mar 20, 2013, at 7:56 PM, Pulkit Singhal <[email protected]> wrote: > How can I pass the document id to an update handler via a browser request? > I've tried: > http://127.0.0.1:5984/ > <my_database>/_design/<my_designdoc>/_update/in-place-query/<mydocId> > http://127.0.0.1:5984/ > <my_database>/_design/<my_designdoc>/_update/in-place-query?id=<mydocId> > http://127.0.0.1:5984/ > <my_database>/_design/<my_designdoc>/_update/in-place-query?_id=<mydocId> > > But I never receive a non-nil document in my update handler. > > What am I doing wrong?
