$request
The Request class provides a simple API to inspect incoming requests.
- 
    
            new Request()
- 
    
            $request->auth()
- 
    
            $request->body()
- 
    
            $request->cli()
- 
    
            $request->csrf()
- 
    
            $request->data()
- 
    
            $request->detectRequestMethod()
- 
    
            $request->domain()
- 
    
            $request->file()
- 
    
            $request->files()
- 
    
            $request->get()
- 
    
            $request->header()
- 
    
            $request->headers()
- 
    
            $request->is()
- 
    
            $request->method()
- 
    
            $request->params()
- 
    
            $request->path()
- 
    
            $request->query()
- 
    
            $request->ssl()
- 
    
            $request->url()
How to get a $request object
The $request object is available via the $kirby object:
$request = $kirby->request();Examples
With the object in place, you have access to all the methods listed above.
Get a specific variable from the query string
$filter = $request->query()->filter();Get the Params object
The $params object contains all  URL parameters
$params = $request->params();Get the request method
$method = $request->method();