couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "How to intercept document updates and perform additional server-side processing" by Ning Tan
Date Wed, 19 Aug 2009 14:21:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by Ning Tan:
http://wiki.apache.org/couchdb/How_to_intercept_document_updates_and_perform_additional_server-side_processing

------------------------------------------------------------------------------
  
  == Usage ==
  
- To invoke a handler, one must "put" the document against the handler function itself. Using
the canonical document URL won't invoke any handlers. For example, to invoke the "in-place"
handler defined above, the URL to use is:
+ To invoke a handler, one must "PUT" the document against the handler function itself (POST
does not seem to be supported). Using the canonical document URL won't invoke any handlers.
For example, to invoke the "in-place" handler defined above, the URL to use is:
  
  {{{
  http://127.0.0.1:5984/<my_database>/_design/<my_designdoc>/_update/in-place/<mydocId>?field=title&value=test

Mime
View raw message