View::response()
Renders the main panel view either as JSON response or full HTML document based on the request header or query params
View::response(mixed $data, array $options = [ ]): Kirby\Http\Response
Parameters
| Name | Type | Default | 
|---|---|---|
| $data * | mixed | 
                – | 
| $options | array | 
                [ ] |