This question has been answered by BobRay. See the first response.
One way to do that is to put a .php file on the remote that returns the data in JSON format and call it from the resource with Ajax. If the data is at all sensitive, you'd want to have a secure, hashed, key to send along with the request.