Create an XLF file from the response data

Hi Make Team,
I get a file data from an HTTP call(Adobe) which I need to upload it through another API(Our API).
But our Api receives files as a parameter for that I need to create .XLF from the response of Adobe API(First) call.
I saw there is an Module to create XML file but I want to create an XLF file. How this can be achieved?
So basically I want to create a file of my choice. Data already I will receive from one api and just need to write that data to a file and file extention of my choice. In this case it is .xlf.

Below is the response I am getting from Adobe API:

If XML and XLF files are interchangeable, then just rename the XML file to use .xlf extension.

2 Likes

In that case I have to create XML file.
How that I can do with the response in screenshot

Your API perhaps can recieve binary data using the built-in function toBinary

2 Likes

thanks…It has worked

2 Likes