I'm trying to integrate a pretty simple REST service from Sharepoint. This service is hosted on a different domain, and I just need to do a GET against it to pull a JSON array of data on page load from one of my content pages.
Obviously, a regular Ajax call fails b/c of same-origin, and so I was hoping there was a native way to proxy or host third party data from inside sharepoint so that my clientside script can get at it.
I did a lot of searching online, and found a /_api/SP.WebProxy.invoke endpoint which allegedly works in 2013, but that doesn't help me much if it doesn't exist in 2010 (I tried using it, and got a 404 error). It's also not very well documented, so I may have the wrong knobs set in my json POST to it.