Changes

Jump to navigation Jump to search
314 bytes added ,  22:08, 9 July 2012
%rest:cookie-param("username","{$user}")
%rest:cookie-param("authentication","{$auth}", "no_auth")
</pre>
 
===Request===
 
The <code>request</code> annotation is specific to BaseX: servlet request data can be bound
to this annotation and then processed via the [[Request Module|Request Functions]]:
 
<pre class="brush:xquery">
declare
%rest:path("")
%rest:request("{$req}")
function page:test($req) { ... };
</pre>
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu