I have received API instructions from a client I plan to send leads to. They take the leads in XML HTTP POST in a format such as “multipart/form-data”.
The data I collect is from a landing page which is webhooked into make.com. I’m not 100% sure but I think it might be in JSON format.
I know that I need to convert the data into an XML file, and then use the HTTP module to create a request with the POST method selected. The instructions I have contains the strings and the URL endpoint.
So here’s my question:
- How do I convert the data into an XML file?
- Do I need to create a data structure? If so, how?
- How do pass this XML data to the client via the HTTP request module?