Laravel Routing Controller Get and Post Method

Route::match(['GET', 'POST'], '/page-name', [App\Http\Controllers\NameController::class, 'index']);
Shadow