i want to use url like: http:localhost:8000/api/students/?key=value.
My API is set up as follows:
Route::get('students/{key},'Controller@method')
but my url is: http:localhost:8000/api/students/value
Could anyone help me please?
i want to use url like: http:localhost:8000/api/students/?key=value.
My API is set up as follows:
Route::get('students/{key},'Controller@method')
but my url is: http:localhost:8000/api/students/value
Could anyone help me please?