Hi,
In order to integrate my website with another website, I need to create an API endpoint which would return an XML file with a list of my products.
As far as I can see, I can only use wix-http-functions to return JSON responses. Is it possible to return XML responses intead?
Regards,
Fabio
Hello Fabio,
Follow the solution in this Forum post to install fast-xml-parser NPM module and convert XML to JSON:
https://www.wix.com/corvid/forum/community-discussion/get-xml-response
Good luck!
Hi Sam,
I’m looking for the other way around. I don’t want to get XML, I need to send XML.
Regards,