We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Fab_R
8 years agoExplorer | Level 3
Upload File Api
Hey guys,
I'm getting a pdf content and want to upload it in my dropbox with the API.
When i'm sending the request with the /upload method, i'm getting no response from dropbox ...
...
- 8 years agoIt looks like you're using a third party HTTP client, and not one of our official SDKs, so we can't offer help with how to construct the call with your client.
That said, looking at your code, you don't appear to actually be using your `req` object. You probably need something like `HTTPResponse res = h.send(req);`. I recommend referring to the documentation for this HTTP client for information on how to make requests.
Greg-DB
Dropbox Community Moderator
8 years agoIt looks like you're using a third party HTTP client, and not one of our official SDKs, so we can't offer help with how to construct the call with your client.
That said, looking at your code, you don't appear to actually be using your `req` object. You probably need something like `HTTPResponse res = h.send(req);`. I recommend referring to the documentation for this HTTP client for information on how to make requests.
That said, looking at your code, you don't appear to actually be using your `req` object. You probably need something like `HTTPResponse res = h.send(req);`. I recommend referring to the documentation for this HTTP client for information on how to make requests.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!