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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Send REST API request from subscription

and1
13-Aquamarine

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."

ACCEPTED SOLUTION

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

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
PaiChung
22-Sapphire I
(To:and1)

Have you tried using the Snippets/Contentloader functions?

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

Announcements


Top Tags