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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c0fa-346ae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c0fa-346ae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?