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

Closed
wants to merge 1 commit into 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

@hhxsv5
Copy link
Collaborator

hhxsv5 commented Oct 23, 2024

Breaking Change

@hhxsv5 hhxsv5 closed this Oct 23, 2024
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.

2 participants