I have a route
Route::get('student-search', 'Students@search')
and url on browser
student-search?session=2&name=raj&grade=1§ion=a
But while returning $request its returning empty . Same thing is working fine on local but not working after trnsferring it to server.
code of search function looks like this
public function search(Request $request){
return $request;
...
and $request returns empty . While same thing is working on localhost.