{"action":"created","issue":{"url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1","repository_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame","labels_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1/comments","events_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1/events","html_url":"https://github.com/santiihoyos/GitKraken_minigame/issues/1","id":146577507,"number":1,"title":"Problema con CORS!!!! --Ranking--","user":{"login":"santiihoyos","id":10730150,"avatar_url":"https://avatars.githubusercontent.com/u/10730150?v=3","gravatar_id":"","url":"https://api.github.com/users/santiihoyos","html_url":"https://github.com/santiihoyos","followers_url":"https://api.github.com/users/santiihoyos/followers","following_url":"https://api.github.com/users/santiihoyos/following{/other_user}","gists_url":"https://api.github.com/users/santiihoyos/gists{/gist_id}","starred_url":"https://api.github.com/users/santiihoyos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiihoyos/subscriptions","organizations_url":"https://api.github.com/users/santiihoyos/orgs","repos_url":"https://api.github.com/users/santiihoyos/repos","events_url":"https://api.github.com/users/santiihoyos/events{/privacy}","received_events_url":"https://api.github.com/users/santiihoyos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-07T10:44:01Z","updated_at":"2016-04-07T11:57:30Z","closed_at":null,"body":"Hola,\r\n\r\nHe implementado la conexión a servidor del ranking mediante un web-service el problema que me he encontrado es que por politicas de seguridad de JavaScript no puedo hacer peticiones http desde un servidor a otro, para ello tendría que implementar algo llamado **CORS** os dejo la documentacion en unity donde advierten del tema ¿alguien sabe por dónde tirar?\r\n\r\n> http://docs.unity3d.com/Manual/webgl-networking.html\r\n\r\nDe todas formas el ranking si que funciona como se puede ver en este enlace:\r\n\r\n> http://51.254.134.174/prueba/\r\n\r\npero funciona porque el webservice y el juego están en el mismo servidor.\r\n\r\nUn saludo!"},"comment":{"url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/comments/206833758","html_url":"https://github.com/santiihoyos/GitKraken_minigame/issues/1#issuecomment-206833758","issue_url":"https://api.github.com/repos/santiihoyos/GitKraken_minigame/issues/1","id":206833758,"user":{"login":"karlossius","id":18303701,"avatar_url":"https://avatars.githubusercontent.com/u/18303701?v=3","gravatar_id":"","url":"https://api.github.com/users/karlossius","html_url":"https://github.com/karlossius","followers_url":"https://api.github.com/users/karlossius/followers","following_url":"https://api.github.com/users/karlossius/following{/other_user}","gists_url":"https://api.github.com/users/karlossius/gists{/gist_id}","starred_url":"https://api.github.com/users/karlossius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlossius/subscriptions","organizations_url":"https://api.github.com/users/karlossius/orgs","repos_url":"https://api.github.com/users/karlossius/repos","events_url":"https://api.github.com/users/karlossius/events{/privacy}","received_events_url":"https://api.github.com/users/karlossius/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T11:57:30Z","updated_at":"2016-04-07T11:57:30Z","body":"Me dicen que existe un paquete llamado PhotonNetwork para juego online. No sé si te servirá para el ranking, pero si permite multijugador online, algo ayudará..."}}