Answer the question
In order to leave comments, you need to log in
Request and data from routes in Laravel?
The essence of the question is this: how to check in intermediaries (middleware) the data that is transmitted using routes?
For example, there is a route:
Route::get('somedata/{id}', ['middleware' =>'check.somedata', 'uses' => '[email protected]']);
id
to check its existence, etc.? There are suspicions that using Request, but there is nothing like that in the documentation?
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