PapaParse icon indicating copy to clipboard operation
PapaParse copied to clipboard

How to using post method to download csv file?

Open zch513430014 opened this issue 5 years ago • 2 comments

MY Code: url = "https://www.xxxx.com/data.csv"; Papa.parse(url,{ download: true, complete: function () { // executed after all files are complete } } ); I want to request the file using “POST” Method?Any suggestion?

zch513430014 avatar Apr 25 '19 02:04 zch513430014

Given that it's just a file on your server, why would you need to use POST to get(heh) it?

justinzelinsky avatar Apr 25 '19 12:04 justinzelinsky

However sometimes you will need to post some query condition to get a generated output in csv format, that's when you need the support for POST method.

realyasswl avatar Nov 12 '20 07:11 realyasswl