I'm trying to output (proxying) a PDF that is stored on a third party server, via SuiteScript. It's SS 1.0 so far because it's SCA and 99% of SCA is SS 1.0.
The API responds with a raw file (not base64 encoded), which i store on a variable and send in nlobjResponse
I can't make it work. the PDF comes blank.
If i compare the file downloaded from POSTMAN vs the file, i can see inside that the content is similar in A-Z chars, but not in any other chars.
Any insights?