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

GetJASON

Newbie

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);