What is the JSON format to send XML file as attachment. It should be a key-value pair where key is the xml-file and the value should be to select files so that we can upload the xml file. How can we get this interface of key-value wherein you can upload the file. How can we do this in OutSystems
If you are planning to expose a REST API in OutSystems to receive XML file and its content you could follow the below steps.
Please note that Content is Base64 encoded content from the caller. You may store it as is or convert to original form before storing / processing it.