cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How can I post/send my xml file to another url?

rsalunkhe
1-Newbie

How can I post/send my xml file to another url?

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

1 REPLY 1
PaiChung
22-Sapphire I
(To:rsalunkhe)

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)

Top Tags