I have the following form tag :
< form action="../resume?jobs={{$jobs->job_id}}" method="post" enctype="multipart/form-data">
@csrf
//remaining of the code
The question is how to support this route in web.php?
I tried below but not working :
Route::post('/resume/{?jobs}', function ($jobs) {
......
}
As you notice I want the url to have parameters and not backslash at the end, example: http://127.0.0.1:8000/resume?jobs=1211
Thanks for help.