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');
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3hjf3AW
via IFTTT
Aucun commentaire:
Enregistrer un commentaire