In the case of using 'filesDownloadZip', that data is the actual raw data for the zip file containing the requested folder.
It looks like you have the Dropbox part of this itself working, so I don't think I can offer to much help with the part that you're currently stuck on. Exactly what you do with that returned data and how you serve it back to the user is up to and will depend on the web framework you're using in this case.
That said, I wouldn't expect to use '.json()' or 'JSON.stringify' on the returned data, as it's not an object you necessarilly want to convert into a JSON string. Also, 'window.open' doesn't seem right as that would expect a URL, but the data isn't a URL.
Well, we know it can be hard to keep up good habits, so we made a new working from home cheat sheet, with some good habits, some things to avoid and some tips for making your day a little easier. Check it out here.
Work Smarter with Dropbox
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.