Reference

Guide

$request->detectRequestMethod()

Detect the request method from various options: given method, query string, server vars

$request->detectRequestMethod(string $method = null): string

Parameters

Name Type Default Description
$method string null

Return type

string

Source code

kirby/src/Http/Request.php#L218