Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi Developers,
I want to send my xml file to another url which is in different environment(not in thingworx). How can this happen in thingworx? If answer is Postxml then can you provide smple code here.
Please reply this will very useful for me
I would say that PostXML would be the way to go, maybe PostText
If you look at the snippet when you bring it in, it should be fairly self-explanatory.
If you wonder about how to get the xml that you want to post.
You could 1. just hard code it var myXML = <xml here>
or 2. Perhaps pull it from a file in the file repository (you would be doing a LoadXML from the repository to get your payload)