Can you please post the result of $request->input() on both your development and production environment when calling the same URI?
Input Value Different on Server
I'm fetching data through an API. I request the following URL: http://localhost:8000/api/v1/individuals?page=1 and I receive a paginated list of individuals.
I am performing a couple of checks because several controllers could hit that same URL. Namely I'm checking if $request->input('q', '') is empty or null. When working locally, and from the page that I'm accessing it from, q is always empty.
However, when I deploy the code to the server and do the same check from the same page, I'm receiving "/api/v1/individuals" as q. I've been trying to debug for hours and this has got me stumped. Any leads? Thank you.
Please or to participate in this conversation.