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

Send REST API request from subscription

SOLVED
Highlighted
Amethyst

Send REST API request from subscription

Do we have an ability to send REST API request from thing subscription?

In my case I need send request with query params to API Gateway on AWS. I tried use XmlHttpRequest, but that not work and send me message like this "Cannot call method "open" of undefined", "ReferenceError: "XMLHttpRequest" is not defined."

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Send REST API request from subscription

Have you tried using the Snippets/Contentloader functions?

It has predefined for you GET/PUT/POT text/xml/json

View solution in original post

1 REPLY 1
Highlighted

Re: Send REST API request from subscription

Have you tried using the Snippets/Contentloader functions?

It has predefined for you GET/PUT/POT text/xml/json

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!