Spring - download response as a file

前端 未结 7 716
無奈伤痛
無奈伤痛 2020-12-08 07:19

I am writing application using AngularJS and Spring. I would like to send request to the server and download response returned from controller as a file. In controller I hav

7条回答
  •  伪装坚强ぢ
    2020-12-08 07:37

    Just in case you guys need it, Here a couple of links that can help you:

    1. download csv file from web api in angular js
    2. Export javascript data to CSV file without server interaction

    Cheers

提交回复
热议问题