title: File download from API
body: <p>I have ubuntu server with API and separate site developed with asp core 2. A user should be able to download a file, but an issue is that files can't be stored in wwwroot folder on API because of security reasons. If the user sends request to the site that then sends request to API and download the file stored in not wwwroot folder there is twice time to download it because firstly the site downloads the file and then the user. Now I use other way: firstly I send ajax request to API and receive file but the problem is that file downloading status is not displayed. It can be just watched at developer tools in network. So may be there is another solution? </p>