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

API not found #6

Open
applibs opened this issue Feb 3, 2019 · 1 comment
Open

API not found #6

applibs opened this issue Feb 3, 2019 · 1 comment

Comments

@applibs
Copy link

applibs commented Feb 3, 2019

I used search function which generate this url:
https://api.onedrive.com/v1.0/drives/MYDRIVEID/root/view.search/q=file.txt
but always I got message "API not found".
Other call API works well.
What is wrong?

@applibs
Copy link
Author

applibs commented Feb 3, 2019

OK, I found solution. It looks like Guzzle client will not encode query when q = aaa/bbb.
Soo, putting urlencode(utf8_encode($file)) will fix this problem.

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