I’m testing a SOAP endpoint that returns a structured XML response with one or more PDFs, using MTOM. In the response, I see one or more xop:Include elements like this:
What can I do in Postman to download this PDF directly? Copying the binary content and converting it to a PDF with another tool is inconvenient, especially when there are multiple PDFs in the response.
Postman is an API testing and development tool and that API is returning a binary encoding.
Converting it back to a PDF isn’t available within Postman (as far as I’m aware).
Postman has very little access to the local file system, so I don’t think there is anything you can do with the core apps.
You can however use Newman as Node.JS library, which means you might be able to do this as a Node.JS application alongside other libraries for file manipulation if its a really important.