Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined index: PATH_INFO {"exception":"[object] (ErrorException(code: 0): Undefined index: PATH_INFO at vendor/unlu/laravel-api-query-builder/src/RequestCreator.php:36) #43

Open
devadattas opened this issue Jul 6, 2018 · 0 comments

Comments

@devadattas
Copy link

devadattas commented Jul 6, 2018

Getting the following error when using custom requests with an URL without a trailing Slash.

Undefined index: PATH_INFO {"exception":"[object] (ErrorException(code: 0): Undefined index: PATH_INFO at vendor/unlu/laravel-api-query-builder/src/RequestCreator.php:36)

$requestUri = $_SERVER['PATH_INFO'];

Refer: https://stackoverflow.com/questions/9879225/serverpath-info-on-localhost for the issue.

devadattas added a commit to devadattas/laravel-api-query-builder that referenced this issue Jul 6, 2018
@devadattas devadattas reopened this Jul 6, 2018
devadattas added a commit to devadattas/laravel-api-query-builder that referenced this issue Jul 6, 2018
This was referenced Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant