Dropbox URL change

JustinDupree -

Dropbox changed their URLs in April 2013. Some Tropo code samples and applications reference Dropbox URLs, and some of those might still refer to the old, incorrect URL.

If you're using Dropbox to host text data that you're trying to retrieve using REST or a built in method (such as file_get_contents in PHP), then you'll need to edit your URL domain from:

https://www.dropbox.com/s/1234567890abcdef/example.txt

to

https://dl.dropboxusercontent.com/s/1234567890abcdef/example.txt

Otherwise the link will not return plain text. 

Have more questions? Submit a request

0 Comments

Article is closed for comments.