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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

GetJASON

mpontes
2-Guest

GetJASON

Hello,

My name is Marta, l am trying to get a JSON from URL, but doesn't work. Can someone tell me what l am doing wrong?

var params = {
    headers: { 'Accept': 'application/json'},
    type: 'GET',
    url: 'https://api.beta.mksmart.org/sensors/feeds/aee77ea2-be21-427d-a56d-6124e436c045' /* STRING */
};


// result: JSON
var result = Resources["ContentLoaderFunctions"].LoadJSON(params);

0 REPLIES 0
Top Tags