$request->detectRequestMethod() Detect the request method from various options: given method, query string, server vars kirby/src/Http/Request.php#L224 $request->detectRequestMethod(?string $method = null): string Parameters Name Type Default $method string|null null Return type string Parent class Kirby\Http\Request