how to use route post method insert in laravel code example
Example: laravel routing controller get and post method
Route::match(['GET', 'POST'], '/page-name', [App\Http\Controllers\NameController::class, 'index']);
Route::match(['GET', 'POST'], '/page-name', [App\Http\Controllers\NameController::class, 'index']);