I have a game! applications and from JavaScript, which we now run in the same problem with the original policy.
I want the ajax JavaScript requests to go to our own server and that server redirect the json call to the external REST API again.
My JavaScript uses ajax for this URL:
$.getJSON("http://mydomain.com/users", function(users) {
How can I easily make a server route to say:
public void getUsers(){
and return the answer?
Or can this be done dynamically somewhere by direct redirection?
user920041
source share