get('/user', function (Request $request) { return $request->user(); }); Route::get('/printers', ListPrinterController::class); Route::get('/printers/{id}', GetPrinterController::class); Route::post('/printers/{id}/clear-queue', ClearQueuePrinterController::class);