Changes

Jump to navigation Jump to search
75 bytes added ,  18:32, 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'' databaseand enclosesall results with a <code>rest:result</code> elements:
:<code>[http://admin:admin@localhost:8984/rest/factbook?query=//city/name 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