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 PTC Community Badges. Engage with PTC and see how many you can earn! X

HTTP notification triggered by a Subscription

lp1
1-Newbie
1-Newbie

HTTP notification triggered by a Subscription

Hello,

I would like to trigger an HTTP request from ThingWorx to an external HTTP endpoint in order to notify a data change.

I defined a subscription associated to my Thing but do not know  how to fill the "Script" section at Susbscription definition.

I've already tried to use a typical XMLHttpRequest object with no luck.

Please, could you provide some guidance?

Thank you,

Luis

1 ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:lp1)

In the ContentLoader resource there are services that help you do HTTP calls.

View solution in original post

4 REPLIES 4
PaiChung
22-Sapphire I
(To:lp1)

In the ContentLoader resource there are services that help you do HTTP calls.

lp1
1-Newbie
1-Newbie
(To:PaiChung)

Thanks Pai, I really apreciate it!

Any tutorial, or doc where I could find more about it?

Thanks in advance!

PaiChung
22-Sapphire I
(To:lp1)
lp1
1-Newbie
1-Newbie
(To:PaiChung)

Perfect!
That was what I was looking for.

Best regards

Luis

Top Tags