Skip to content

Kirby 4.5.0

$api->render()

Renders the API call

$api->render(string $path, string $method = 'GET', array $requestData = [ ]): mixed|null

Parameters

Name Type Default
$path * string
$method string 'GET'
$requestData array [ ]

Return type

mixed|null

Parent class

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