A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/request
A module for dealing with HTTP requests.

request:request-parameter($name as xs:string, $default-value as item()*) xs:string*
Returns the HTTP request parameter identified by $name. If the parameter could not be found, the default value is returned instead. Note: this function will not try to expand predefined entities like & or <, so a & passed through a parameter will indeed be treated as an & character.
$nameThe parameter name
$default-valueThe default value if the parameter does not exist

Returns the parameter value

Deprecated: Renamed to request:get-parameter. This function could be removed at anytime during the 1.5 development and will be removed in the 1.6 release.
Return to list of all modules