The restlet response in json, which solution is the greatest within this situation?
Just like every other situation.
- CORS if you would like control and are prepared to sacrifice some mix-browser support.
- JSON-P if you're able to accept GET only demands with no security that sites can trigger the request
- A proxy on a single origin if you do not require the final server to obtain qualifications from the customer