Im trying to define a GET route in laravel with two parameters, but I keep getting a (laravel) 404 page.
my route looks like this:
Route::get('/swapslot/{og}/{new}', 'ItemController@swapSlot')->name('swapslot');
whenever I redirect my users to public/swapslot/*number*/*number* I get a 404 error. I have other routes with 1 parameter, these do work.
'swapslot/{og}/new/{new}'try making your URL something like thisweb.phpoapi.php. Paste as well the output ofphp artisan route:listpublic/swapslot/number/numberusing a javascript function. Cant post the output of that command atm since im @ work.