Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Klaus A.'s avatar
Klaus A.
Helpful | Level 5
9 years ago

save_url endpoint

Hi,

I really would like to use the save_url endpoint to save user created data from a server to the user's dropbox account.

Alas, I can't. In my case, and I am sure in many other applications too, access to the user data at the specified url requires inclusion of an authorization header in the GET request. 

The current save_url parameters contain only destination pathname and origin url. 

It would be nice to have an optional additional field in the parameters for the save_url enpoint that specifies the authorization header to include in the GET request.

Something like:

"authorization_header_to_include": "Authorization: urlspecificbearer some_access_token",

The value of the "authorization_header_to_include" field would then literally be included in the GET request header.

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    Thanks for the post! I'm sending this along as a feature request.

    I can't make any promises as to if or when that would be added though, so if you control the resource host, as a workaround you can instead generate URLs that contain random, unguessable tokens, and/or that are time-limited which you would then supply to Dropbox.
  • Klaus A.'s avatar
    Klaus A.
    Helpful | Level 5
    9 years ago

    Thanks Greg,

     

    What in addition would be REALLY great if there were also an optional "url_method" member with the possible values GET (default), PUT and POST. That would make the save_url endpoint a great feature to save and restore server based user data to DropBox.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    Thanks! I'll send that request along too.

About Dropbox API Support & Feedback

Node avatar for 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!