Downloading and Uploading XMLs

I’m working on an integration in which i download a XML from endpoint A then i need to post this xml file to endpoint B, passing it as a file that goes into form-data.

How to create the XML file from the response i get from endpoint A? While using Postman, the response is the XML itself, but in Snaplogic the response is a JSON.

Is it possible to send a file through Post Snap form-data without first saving it as an XML file?