Skip to content

Kirby 4.4.1

$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
$method string|null null

Return type

string

Parent class

Kirby\Http\Request