laravel 8 api routes example Example: laravel route Route::get('user/profile', [UserProfileController::class, 'show'])->name('profile');