$api->render()
Renders the API call
$api->render(string $path, string $method = 'GET', array $requestData = [ ]): mixed
Parameters
| Name | Type | Default |
|---|---|---|
| $path * | string |
– |
| $method | string |
'GET' |
| $requestData | array |
[ ] |
Return type
mixed
Parent class
Kirby\Cms\Api inherited from Kirby\Api\Api