Accessing query parameters

Query parameters (URL request parameters) are accessible as attributes of the request file. In the above video, you can see printing all file metadata (properties, attributes) of the request file via the following code snippet:

util.fileMeta(request)

We also check if the parameter foo is provided or not via:

request.hasAttrStr('foo')

And get the parameter value via:

request.attrStr('foo')