We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Junho S.
11 years agoNew member | Level 1
Use save_url api to move files from onedrive or google drive
Hi,
I am now testing /save_url api for moving my files in onedrive. However, only partial data is done to transfer when I trigger the api.
I, of course, already set the files in onedrive to be pu...
Greg-DB
Dropbox Community Moderator
11 years agoThanks! That link appears to work, and using it with the Dropbox API /save_url endpoint does successfully save a file to my account. Inspecting the file, however, shows that it actually just saves the HTML page. The file begins with:
<html>
<head>
<title>Microsoft OneDrive
...and so on.
That makes sense though, as your link, e.g., when tested in a browser, does yield an HTML page, and not the .pdf file itself, which is displayed interactively in the browser on that HTML page.
If you want to save the actual .pdf file itself, you'll need a link that returns the actual PDF content directly. That's outside the scope of Dropbox API support of course though, so I recommend referring to the OneDrive documentation or support.
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!