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: