Is it possible to fully download a PDF file through an XHR request? I know that there are already many other discussions on this subject, but, unfortunately, I am still not happy with them. I use AngularJs and make a request using its $Http method. It does not return a file download popup. But if I click with the same URL in a new browser window, I get a popup. I already tried work-arround and its working mode, i.e. document.location.href = url; , but if I do, I wonβt be able to show the pending image until the pop-up download window appears and appears. Therefore, not enough work for me. I would like to do this in an authentic way through a server request through which I can also process alternative result streams.
Ch faizan mustansar
source share