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