Download / Agent problems in and design pro

goal: click the button to download
status quo: .1 reference network implementation, there are mainly two a tag and use window.open two methods.
2.a tag and open direct access to the back-end service can be downloaded. However, direct access to the backend service is not allowed (so visit the pro deployment address and proxy forward to the backend service through pro).
3. However, if the 2 operation web page is directly redirected, so that it cannot be downloaded, the a tag returns and the file cannot be found, and window.open returns 403.
4. Please tell me how to download the page without redirecting, or explain the principle of pro proxy implementation. Thank you-sharp-sharp-sharp problem description

Apr.11,2021

normally 2 is feasible. Because there are always requests. Check whether the download address is correct, or check whether the backend service requires login permissions

Menu