Skip to main content
1-Visitor
March 7, 2016
Solved

HTTP notification triggered by a Subscription

  • March 7, 2016
  • 1 reply
  • 2008 views

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

Best answer by PaiChung

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

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
March 7, 2016

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

lp11-VisitorAuthor
1-Visitor
March 7, 2016

Thanks Pai, I really apreciate it!

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

Thanks in advance!

22-Sapphire I
March 7, 2016