You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/05/07 21:57:07 UTC
[Couchdb Wiki] Trivial Update of "HTTP_view_API" by SebastianCohnen
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "HTTP_view_API" page has been changed by SebastianCohnen.
http://wiki.apache.org/couchdb/HTTP_view_API?action=diff&rev1=39&rev2=40
--------------------------------------------------
||'''inclusive_end'''||''true / false''||''false''||||
Since 0.9 you can also issue '''POST''' requests to views where you can send the following JSON structure in the body:
+
+ {{{
- * {"keys": ["key1", "key2", ...]}
+ {"keys": ["key1", "key2", ...]}
+ }}}
''key'', ''startkey'', and ''endkey'' need to be properly JSON encoded values. For example, startkey="string" for a string value or startkey=["foo", 1, {}]. Be aware that you have to do proper URL encoding on complex values.