$api->version('v1', ['prefix' => 'api'], function ($api) {
$api->get('go/{id}', function ($api) {
trace_log(Input::get('id'));
return ['now' => microtime()];
});
});
but I get nothing in the log.
I call this API from browser http://developer.dev/api/go/234
I get absolutely nothing in my log file.
Without 234 octobercms returns 404, so it partly works.
According to documentation this should work.
but I get nothing in the log.
I call this API from browser
http://developer.dev/api/go/234
I get absolutely nothing in my log file. Without 234 octobercms returns 404, so it partly works.