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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Send REST API request from subscription

and1
12-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
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

Top Tags