You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
email_toan
8 years agoExplorer | Level 3
Missing or empty HTTP "Content-Type"
I am having a terrible time trying to complete a large file upload using REST/HTTP Post. I am able to start an upload session and append to an active session but when I call finsih I get the followi...
- 8 years ago
What is CRect?
My best guess would be that the library you're using to make HTTP requests omits the Content-Type header when there's no POST body.
Steve M.
Dropbox Staff
What is CRect?
My best guess would be that the library you're using to make HTTP requests omits the Content-Type header when there's no POST body.
email_toan
8 years agoExplorer | Level 3
That's actually a typo. Yes, CRest is a class library I used to make HTTP requests. Removing the Content-Type header didn't work for me, however your responde lead me to discover if I post with a body, the API method succeeds. So I've updated my logic to accomodate this.
Steve, thank you for your help.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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 or Facebook.
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!