Front-end download problem

window.open(url)

the usual practice is to generate a url download address at the front end, and then simulate the click event of the browser or call window.open to download the file, but now you need to add the header of Authorization to header. How to implement

error message
clipboard.png

Sep.29,2021

sign is put in url

Menu