Laravel - Request and Response
Given this Laravel route:
What will be returned if the URL is '/search' with no query parameters?
Route::get('/search', function (Request $request) {
return $request->query('q', 'none');
});What will be returned if the URL is '/search' with no query parameters?
