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