cascadeCommons Helpful | Level 6

Comments

  • Hey Jay, Thanks for the quick reply! I see that the bandwidth limit for Dropbox Professional users is 200 GB. Is bandwidth usage calculated by the size of the files uploaded? For example, if someone uploads a 1 GB file via a file request, does that count towards 1/200 of my bandwidth? Thanks!
  • let requestURL = generateSubmission(); Hey @"Greg-DB". I've included some more information. The function I provided earlier is generateSubmission(). I've included how I called it above. My plan was for generateSubmission() to return the URL in string form so I could store it in the newly declared variable `requestURL`.…
  • let options = { method: 'POST', headers: headers, body: params }; fetch('https://api.dropboxapi.com/2/file_requests/create', options) .then(res => res.json()) .then(data => { generated = data.url; }) Hey @"Greg-DB", I've already initialized the `generated` variable. This fetch is part of a normal Javascript function, and…
  • Thank you so much Greg for your quick reply, I really appreciate it. It seems that I had formatted my fetch request correctly, but the issue I was having was working with the response data. I checked my code using the .ok property and I can confirm that the request is successful. In the example you provided, there were 2…
  • Hey Greg! I thought I'd just join the discussion here since I have a very similar question. Can you provide an example of how to format a fetch request for creating a file request (documentation's here: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-create). Thanks!