I am getting the 2 errors 1 after the other
1- 301 moved permanently
2- 404 not found
Accessing this route from ajax and the route is
Route::get('/recipientForm/{name?}', function ($name = 'test') {
return 'test';
});
I am getting the 2 errors 1 after the other
1- 301 moved permanently
2- 404 not found
Accessing this route from ajax and the route is
Route::get('/recipientForm/{name?}', function ($name = 'test') {
return 'test';
});
In my case i was used extra slash "/" in the end of url. when i have remove that is working fine