mercredi 3 novembre 2021

Request get method route handling

I am using laravel 5 . I want to set route like

http://localhost:8000/website/product-search-data?term=k

I also tried with

Route::get('/website/product-search-data/*', 'websiteController@searchProductList');
public function searchProductList($term)
{
    dd($term);
 }

But its providing me Sorry, the page you are looking for could not be found. How can I handle and get parameer value ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire