Request Object

Provides access to to information inside the HTTP request object.

Returns the HTTP host.

Usage

{{ request.host }}

Example

You are currently browsing: {{ request.host }}

Returns the path to the current page.

Usage

{{ request.path }}

Example

You are currently browsing: {{ request.path }}

Provides access to Get query parameters from the URL.

Usage

{{ request.params }}

Example

If the current URL contains a query parameter such as ?foo=bar, the following code:

{{ request.params["foo"] }}

Would return the valuebar.