I am working on a Laravel project and am trying to get GET parameters from a controller. Requesting a page with ?date={value}
should return value
as follows:
public function getIndex(Request $request) {
return $request->input("date");
}
This does not work though. POST requests work as they should. I am using nginx through cloudflare. I tried making a plain PHP file with
echo $_GET["date"];
which works fine.