HI Outsystems Enthusisats,
I am trying to achieve the following:
Using OutSystems application I am uploading xml file, with help of external Api i need to upload it.
External Api only accepts xml file. Is there any way to send xml file to the api, instead of JSon?
Thanks,
Anushree.
Hi Anushree,
a REST api always will send JSON and not XML. Soap uses XML.
A REST api can has a json-field that contains XML.
Another option it create an xml using xmlrecords extension and send it using a HTTP Post
Regards,
Hans
@Hans
my use case is the customer is going to upload xml file. My external API looks like following is it possible here?
ah oke, perhaps the following post can help you: https://www.outsystems.com/forums/discussion/15301/rest-webservice-binarydata-request/