get('/user', function (Request $request) { return $request->user(); }); */ Route::group(['middleware'=>'auth:api'], function() { Route::get('/bases', 'APIController@bases'); });