Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
There is no real difference between these two services. I am not sure why there are two.
Hope this helps!
Tori
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.