Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
$request->method()
Returns the request method (GET, POST, DELETE, etc.)
return
(string)
echo kirby()->request()->method();
↑
Cheat Sheet overview
←
$request->is()
→
$request->params()
↓
Back to Cheat Sheet section
Top