Answer the question
In order to leave comments, you need to log in
How to handle incoming parameters in a REST controller?
you need to make an ajax search on the site the
request comes to the REST controller, for the search there is a $searchService
how best to take all the incoming parameters and pass it to
$searchService->find(["q"=>"laptop", "price"=>100, "category"=>3])
what is the best way to apply ? form or serializer, or just loop through $request->all()?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question