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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.