Larvel how to do a redirect and pass data?

There is such a route
Route::get('category/{id}'

Is it possible to make a redirect to it, passing the POST request additional information, such as flag is_new = 1
March 12th 20 at 07:56
2 answers
March 12th 20 at 07:58
On the server side is not done
@darlene_Skil, on the server side, you are operating only answer. You can't do for the client (browser) request. It is possible when the page loads to make the form and submitit her machine, but it does mean that the programmer is trying to do all through all a known place. - Donna.Dooley15 commented on March 12th 20 at 08:01
@Donna.Dooley15, thank you, and there is a very old project and all on crutches, to rewrite from scratch would be easier.... - darlene_Skil commented on March 12th 20 at 08:04
March 12th 20 at 08:00
Try to use a resource

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

Find more questions by tags Laravel