{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/146","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/146/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/146/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/146","id":10894763,"number":146,"title":"Can't read from server. It may not have the appropriate access-control-origin settings. ?","user":{"login":"interpegasus","id":934795,"avatar_url":"https://avatars.githubusercontent.com/u/934795?v=3","gravatar_id":"","url":"https://api.github.com/users/interpegasus","html_url":"https://github.com/interpegasus","followers_url":"https://api.github.com/users/interpegasus/followers","following_url":"https://api.github.com/users/interpegasus/following{/other_user}","gists_url":"https://api.github.com/users/interpegasus/gists{/gist_id}","starred_url":"https://api.github.com/users/interpegasus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interpegasus/subscriptions","organizations_url":"https://api.github.com/users/interpegasus/orgs","repos_url":"https://api.github.com/users/interpegasus/repos","events_url":"https://api.github.com/users/interpegasus/events{/privacy}","received_events_url":"https://api.github.com/users/interpegasus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2013-02-12T04:10:25Z","updated_at":"2015-05-22T09:12:59Z","closed_at":"2013-02-12T05:45:20Z","body":"Hi,\r\n\r\nThe server returns the following message: \r\n\"Can't read from server. It may not have the appropriate access-control-origin settings.\"\r\n\r\nThe API URL is: http://swagger-espn.mobovivo.com/api-docs.json\r\n\r\nCould you please help to fix the issue?\r\n\r\nThanks in advance\r\n![Screen Shot 2013-02-11 at 10 54 09 PM](https://f.cloud.github.com/assets/934795/147698/1d480a36-74ca-11e2-85bf-22ec009353cd.png)\r\n\r\n**SPEC FILE**\r\n\r\n    {\r\n    \"basePath\": \"http://espn-server.herokuapp.com/api\",\r\n    \"swaggerVersion\": \"0.1a\",\r\n    \"apiVersion\": \"1.0\",\r\n    \"apis\": [\r\n    {\r\n        \"path\": \"/info.json\",\r\n        \"format\": \"json\",\r\n        \"description\": \"Get API info and current match\",\r\n        \"operations\": [\r\n            {\r\n                \"httpMethod\": \"GET\",\r\n                \"summary\": \"Get API info and current match\",\r\n                \"nickname\": \"info\",\r\n                \"tags\": [\r\n                    \"production\"\r\n                ],\r\n                \"deprecated\": false\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"path\": \"/info/{id}.json\",\r\n        \"format\": \"json\",\r\n        \"description\": \"Get API info and current event\",\r\n        \"operations\": [\r\n            {\r\n                \"httpMethod\": \"GET\",\r\n                \"summary\": \"Show Event Info.\",\r\n                \"nickname\": \"showByIdOne\",\r\n                \"tags\": [\r\n                    \"production\"\r\n                ],\r\n                \"deprecated\": false,\r\n                \"parameters\": [\r\n                    {\r\n                        \"name\": \"id\",\r\n                        \"description\": \"id = 1\",\r\n                        \"dataType\": \"integer\",\r\n                        \"allowMultiple\": false,\r\n                        \"required\": true,\r\n                        \"paramType\": \"path\"\r\n                    }\r\n                ],\r\n                \"errorResponses\": [\r\n                    {\r\n                        \"reason\": \"Not found\",\r\n                        \"code\": 404\r\n                    },\r\n                    {\r\n                        \"reason\": \"Invalid ID\",\r\n                        \"code\": 400\r\n                    }\r\n                ]\r\n            }\r\n        ]\r\n    }\r\n    ]\r\n    }"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/104586007","html_url":"https://github.com/swagger-api/swagger-ui/issues/146#issuecomment-104586007","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/146","id":104586007,"user":{"login":"SuperMarioX","id":7959847,"avatar_url":"https://avatars.githubusercontent.com/u/7959847?v=3","gravatar_id":"","url":"https://api.github.com/users/SuperMarioX","html_url":"https://github.com/SuperMarioX","followers_url":"https://api.github.com/users/SuperMarioX/followers","following_url":"https://api.github.com/users/SuperMarioX/following{/other_user}","gists_url":"https://api.github.com/users/SuperMarioX/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperMarioX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperMarioX/subscriptions","organizations_url":"https://api.github.com/users/SuperMarioX/orgs","repos_url":"https://api.github.com/users/SuperMarioX/repos","events_url":"https://api.github.com/users/SuperMarioX/events{/privacy}","received_events_url":"https://api.github.com/users/SuperMarioX/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T09:12:59Z","updated_at":"2015-05-22T09:12:59Z","body":"http://stackoverflow.com/questions/24277953/how-to-define-cors-in-websphere-application-server-liberty-profile-v8-5\r\nThat helps. "}}