String
A simple string will be converted to an HTML response with a HTTP status code of 200
return [
'routes' => [
[
'pattern' => 'custom/response',
'action' => function () {
return '<html><body>Boring!</body></html>';
}
]
]
];