Discuss Dropbox Developer & API
The content you are looking for has been archived. View related content below.
After successful authorization and getting the token I try to test it by fetching basic '/user' endpoint and I always get CORS error. Chrome Browser.
1) with preflish request:
2) Without preflight request:
What am I doing wrong, please help!
OK, I figured that out. Silly mistake. Appears that 'api.dropboxapi.com/2/check/user'
is a POST method while I was sending a GET request. The mistake would be avoided if the documentation stated that it's a POST message instead of just specifying that in a curl example which I haven't looked at.
OK, I figured that out. Silly mistake. Appears that 'api.dropboxapi.com/2/check/user'
is a POST method while I was sending a GET request. The mistake would be avoided if the documentation stated that it's a POST message instead of just specifying that in a curl example which I haven't looked at.
Can you share the full error output for reference?
Looking at the screenshots though, I do see two things that should be corrected:
It looks like our messages just crossed. I'm glad to hear you already sorted this out, and thanks for the feedback!
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
Sound good? Let's get started.Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!