I never understand these 2 completely, can someone please put an end to this ?
I have 2 routes :
1- Route::get('/admin/dashboard', 'DashboardController@dashboard');
2- Route::post('/admin/dashboard', 'DashboardController@dashboard_post');
If I do this
{hostname}/admin/dashboard?test=123
My first route should trigger.
If I create a form, with 1 input and submit the form to /admin/dashboard
My second route should trigger.
What is different between these 2 POST ?
Are they behaving the same thing ?
How would one know to use one over the other ?
via ihue