Skip to main content
3-Newcomer
February 18, 2016
Question

GetJASON

  • February 18, 2016
  • 0 replies
  • 743 views

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