list airports api

This commit is contained in:
Richard Morgan
2017-05-14 11:16:35 -04:00
parent c76351ae5b
commit 37d345840b
10 changed files with 409 additions and 100 deletions

View File

@@ -14,3 +14,6 @@
$app->get('/', function () use ($app) {
return $app->version();
});
$app->get('/airports', 'AirportController@resourceList');
$app->get('/airports/{code}', 'AirportController@getAirport');