Changes

Jump to navigation Jump to search
84 bytes removed ,  16:28, 21 November 2012
; Examples
* The following request binds a single variable to the query to be processed:<br/><code>http://localhost:8984/rest?query=$text&$text=Hello+World</code>
* The following request assigns two variables to a server-side query file <code>mult.xq</code> placed in the HTTP directory:<br/><code>http://localhost:8984/rest?run=mult.xq&$a=21&$b=2</code>
<pre class="brush:xquery">
(: XQuery file: mult.xq :)
</pre>
Variables can also be explicitly prefixed with a The dollar sign (<code>$</code>); this way, those variables can be bound omitted as well that would otherwise be interpreted in long as the variable name does not equal a different way parameter keyword (e.g.: <code>$method</code>).
==POST Requests==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu