Changes

Jump to navigation Jump to search
23 bytes added ,  14:56, 12 September 2011
Using GET, all query parameters can be directly specified within the URL.
The following example prints the first five city names from the <b>factbook</b> database:
:<code><nowiki>[http://admin:admin@localhost:8984/rest/factbook?query=(//city/name)[position()<http://admin:admin@localhost:8984/rest/factbook?query=5//city/name]</nowiki></code>
The next request chooses <code>US-ASCII</code> as output encoding and opens the database within the XQuery expression:
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu