Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I need to make a rest call from thingworx service and store the response into one of the properties. Please guide me how can i achieve that. Thanks in advance!!
There is a resource library called 'Content Loaders' there are services for GET/POST/PUT that accept responses in text/JSON/XML
Here is an example:
var prm = {
url: "YOUR_URL_HERE",
timeout: 60
};
var json = Resources["ContentLoaderFunctions"].PostJSON(prm);