Skip to main content
June 9, 2016
Question

What is the Difference Between GetJSON and LoadJSON

  • June 9, 2016
  • 2 replies
  • 2448 views

Hi All


The contentLoader snippets have two snippets for retrieving JSON GetJSON and LoadJSON

Does anyone know what the difference between these two are.

Andrei

2 replies

5-Regular Member
June 30, 2016

There is no real difference between these two services. I am not sure why there are two.

Hope this helps!

Tori

1-Visitor
July 7, 2016

From this other support questions (Invoking the salesforce.com REST API from a ThingWorx instance), it stated that the LoadJSON is being deprecated. I can only assume that the GetJSON conformed to REST ideas GET, POST, PUT, DELETE, etc. Whereas the LoadJSON may have covered more than one HTTP method, the GetJSON covers the GET method.