I have a backend that serves me a PDF file as application/pdf content-type. I need to use rest client for getting the file for sending header reasons. The backend always returns application/pdf and I cannot set responseType right now.
Here is the header I get back:
The data of the response is linearized pdf file. Is there a way for me to open the file in a new window in my Vue FE using the data I get in the response? Or maybe convert the data to a blob and then open it? Or am I bound to request BE changes?