Images in PDF file (response of a rest api call) is missing when use download widget


Does anyone of you here encounter when you download a pdf file from a REST API call its images content were missing, however, when you do the REST API call using postman the images were shown?

I set the REST API response format to Binary Data and response data type to Binary, no photo. Then I changed it to Plain Text/Text and convert it to binary data using TextToBinaryData/Base64ToBinary, still no photo.

Anyone had an idea?

Can you share a small OML that reproduces the issue?

Not clear from your description why you're doing conversions. If it's a PDF, would you not simply download the file as a binary?