Request

On this page

Overview

Below you can see all the available drops on the request object


Name Description
request.path Page path url eg. /my-page
request.host URL for the site eg. developers.wm3.se
request.domain Domain eg. wm3.se 
request.subdomain Subdomain for site eg. developers
request.url Full page URL eg. https://developers.wm3.se/my-pages
request.fullpath Same as request.path
request.query_string Page params eg if page path is /my_page?param the query_string is param
request.params Returns an object with the params
request.alert Missing description
request.notice Missing description
request.current_page Used for pagination pages
request.search_term Same as request.query_string
request.referrer Full URL to page (same as request.url)
request.referer Full URL to page (same as request.url)
request.cookies Returns an object with all of the sites cookies
request.remote_ip Returns IP adress
request.geoip_country Returns country eg. se for Sweden

 

Updated: 2020-11-24