There are two methods to transfer data between multiple security domains.
These are:
CORS: Cross Origin Resource Sharing that works with HTTP web browsers
JSONP: JSON with padding that works with legacy browsers and HTTP GET method.