Changes

Jump to navigation Jump to search
9 bytes added ,  18:37, 24 September 2011
If the GET method is used, all query parameters are directly specified within the URL.
The following example prints the city names from the ''factbook'' database and encloses
all results with a <code>&lt;rest:result/&gt;</code> elements:
:<code>[http://admin:admin@localhost:8984/rest/factbook?query=//city/name&wrap=yes http://admin:admin@localhost:8984/rest/factbook?query=//city/name]&wrap=yes]</code>
In the next request, <code>US-ASCII</code> is chosen as output encoding, and the database is opened within the XQuery expression:
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu