I'm still getting a 413 + CORS error... This is my code:
var jsReportPDF = await this.$axios.post('https://playground.jsreport.net/...', {
template: { shortid: '{{shortid}}' },
data: excel,
options: { "reportName": "myfilename.xlsx",'Content-Disposition': 'attachment;filename=report.xlsx', "reports": { "async": true, "blobName": "myfilename" } }
}, {
responseType: 'arraybuffer',
maxContentLength: Infinity,
maxBodyLength: Infinity,
express: {
"inputRequestLimit": "300mb"
}
}
);
Does it run smoothly on your side?