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

allow relative paths in base uri #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eightfourseventwo
Copy link

We have a service which mocks responses from several exchanges at http://mocks/kucoin etc. Because the URI was hardcoded with a / prefix, Guzzle would always request http://mocks/api/v1/accounts instead of http://mocks/kucoin/api/v1/accounts, even with the base URL set to https://mocks/kucoin.

This PR allows setting the base URL to an url with a path

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

Successfully merging this pull request may close these issues.

None yet

1 participant