0 Replies Latest reply: Dec 4, 2012 9:35 AM by 660069 RSS

    Coherence REST, JSONP support?


      I've been doing quite a bit of work with the REST API. I'm really liking it. However, if you try to do any work inside a browser you soon encounter the same origin policy (http://en.wikipedia.org/wiki/Same_origin_policy).

      A lot of REST API makers are now supporting JSONP, which looks out for a 'callback' in the GET/POST request. The resulting JSON is wrapped in this callback. Libraries like jQuery support JSONP, however the server must also support it.

      Will you be supporting JSONP in the next version of Coherence? Or is there a clever java hack I can use to implement this now?