Javascript -> file-download Edge -> set “from” to actual site
问题 I can download files from my server. After a lot research I found this method in javascript: fetch("requestUrlToFile", { method: "GET", headers: { "authorization": "jwt" } }) .then(checkStatus) .then(function(res){ return res.blob(); }) .then(function(blob){ var filename = "PdfName-" + new Date().getTime() + ".pdf"; if (typeof window.navigator.msSaveBlob !== 'undefined') { // IE var blob = new Blob([blob], { type: 'application/pdf' }); window.navigator.msSaveBlob(blob, filename); } else {//if