laravel-api-query-builder icon indicating copy to clipboard operation
laravel-api-query-builder copied to clipboard

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

Open devadattas opened this issue 6 years ago • 0 comments

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)

https://github.com/selahattinunlu/laravel-api-query-builder/blob/76b182cf850f8ca377349ef6586b31b617a17756/src/RequestCreator.php#L36

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

devadattas avatar Jul 06 '18 22:07 devadattas