Skip to content

Kirby 3.9.8

$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 null
$key string|null null
$default mixed null

Return type

mixed

Parent class

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