Is there a way to force stream a file to a user's computer?

后端 未结 0 390
生来不讨喜
生来不讨喜 2020-12-13 15:40

I can do the following to force download a CSV file to the client:

const response = await fetch(, );
const text = await response.tex         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题