Skip to content

Kirby 4.2.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\Api\Api