P粉6355097192023-08-09 19:10:03
When you use a GET type route in the routes/web.php file, in the form using the method type "POST", it will appear an error of "GET method not supported", because the front-end submission type and There is a conflict between route types.
Try converting your routes in routes/web.php:
Route::get('/some-url', 'NameOfController@NameOfFunction');
Then
Route::post('/some-url', 'NameOfController@NameOfFunction');