Skip to content

Kirby 3.6.6

$api->requestData()

Getter for request data Can either get all the data or certain parts of it.

$api->requestData(string $type = null, string $key = null, mixed $default = null): mixed

Parameters

Name Type Default
$type string null
$key string null
$default mixed null

Return type

mixed

Parent class

Kirby\Cms\Api inherited from Kirby\Api\Api