couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pulkit Singhal <pulkitsing...@gmail.com>
Subject How to pass id as a query parameter to an Update Handler
Date Wed, 20 Mar 2013 23:56:18 GMT
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?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message