N
N
NubasLol2018-10-09 11:46:02
Laravel
NubasLol, 2018-10-09 11:46:02

Larvel how to make a redirect and transfer data?

There is such a route. Is it possible to make a redirect to it by sending additional data as a POST request, for example, the flag is_new = 1
Route::get('category/{id}'

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2018-10-09
@inoise

Don't do it on the server side.

K
Kairat Ubukulov, 2018-10-09
@ubukulov

Try using resource
Route::resource('category', 'CategoryController');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question