Sending file from previous response in multi-part POST

I have a Postman request that retrieves a PDF. If retrieval is successful, I need to check the PDF’s validity by submitting it to a service using a multipart POST request.

I do manage to retrieve the PDF using Postman.
I do manage to send a multi-part request with a local file as a part using Postman.
But I have no idea how to combine both for an automated test - neither could I find out how to make Postman write the result of the first request to a temporary file, nor can I find out how to submit a stream or Base64 string or whatever instead of a file in a multi-part request (assuming the server actually accepts that).

Does anybody have an idea?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.