get('/user', function (Request $request) { return $request->user(); }); Route::apiResource('/clients', ClientsController::class); //Route::get('/clients', [ClientsController::class, 'index']);