Fusio

API / request.getParameter

Returns a single request parameter. I.e. if the requested url was /news?foo=bar you can access the foo parameter through request.getParameter('foo')

Arguments
Name Type Description
name string Parameter name
Return
Type Description
string Returns the parameter value
Example
var count = parseInt(request.getParameter("count"));
if (count > 0) {
  // query parameter "count" is available
}