Using Web Dev to return queryTagHistory results, is there any way to force the client browser to download the CSV or JSON formatted results instead of rendering them in the browser?
We have some EXTREMELY large datasets every now and then that need to be a download vs render in browser.
Set the Content Disposition header. Note that, like anything else with browsers, this is a suggestion to the browser, not a command. But is usually honored unless the user has deliberately adjusted their preferences for the given filetype.
2 Likes
Perfect! Thanks Phil!