If our URL is http://127.0.0.1:8000/student/submit-details/1234
then its Route will be:
Route::get('student/submit-details/{id}',
'studentController@submitDetails')->name('submitDetails');
What will be the route if the URL is following?
http://127.0.0.1:8000/student/submit-details?code=1234
I'm using the following Route, but it is not picking it and not working. Does anyone know what will be its Route? I went through the documentation and found no help there.
Route::get('student/submit-details?code={id}', 'MyController@submitDetails');
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire