Creating a Text file or URL in backend

I am receiving some text in json from API 1 which I am sending to API 2 which only accepts file uploads (URLs). I am wondering how I can generate a text file which contains the text from API 1. I am thinking I could somehow use the data API and create an endpoint URL with the text but I have not tried that yet.

Thank you

1 Like