change method on route list laravel code example
Example: laravel route match
Route::match(['get', 'post'], '/', function () {
//
});
Route::any('/', function () {
//
});
Route::match(['get', 'post'], '/', function () {
//
});
Route::any('/', function () {
//
});