Yes. I’m sorry I did not update. The good folks here at Corona looked at my code and they discovered that I was not using the Dropbox REST API correctly. Here is the correction:
Hi Michael, the problem was not a bug on Corona but a misunderstanding of the dropbox api.
I have not used the dropbox api before, however from reading the below page:
As described here: http://www.rubydoc.info/github/futuresimple/dropbox-api/Dropbox/API/Connection/Requests#post-instance_method
You can see that the post request expects a blank header to be sent.
Removing:
Headers = {}
And having your params table like so:
local params = {}
params.body = body
Your example code worked perfect in my testing on Android.
I have attached the updated sample to this email for you to try out.
Unfortunately, there is no way to post a sample project to this forum. So, I will need a little time to fix my project and then I’ll post it in the code exchange! Sorry for the delay. So busy!
[import]uid: 104085 topic_id: 26226 reply_id: 123077[/import]