❌ Kirby 2 no longer actively supported. 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