$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|null
Parameters
Name | Type | Default |
---|---|---|
$type | string |null |
null |
$key | string |null |
null |
$default | mixed |
null |
Return type
mixed
|null
Parent class
Kirby\Cms\Api
inherited from Kirby\Api\Api