{"action":"closed","issue":{"url":"https://api.github.com/repos/clojars/clojars-web/issues/242","labels_url":"https://api.github.com/repos/clojars/clojars-web/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/clojars/clojars-web/issues/242/comments","events_url":"https://api.github.com/repos/clojars/clojars-web/issues/242/events","html_url":"https://github.com/clojars/clojars-web/issues/242","id":41049139,"number":242,"title":"Add 'Access-Control-Allow-Origin' header to the resources requested via API","user":{"login":"annapawlicka","id":2522010,"avatar_url":"https://avatars.githubusercontent.com/u/2522010?v=3","gravatar_id":"","url":"https://api.github.com/users/annapawlicka","html_url":"https://github.com/annapawlicka","followers_url":"https://api.github.com/users/annapawlicka/followers","following_url":"https://api.github.com/users/annapawlicka/following{/other_user}","gists_url":"https://api.github.com/users/annapawlicka/gists{/gist_id}","starred_url":"https://api.github.com/users/annapawlicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annapawlicka/subscriptions","organizations_url":"https://api.github.com/users/annapawlicka/orgs","repos_url":"https://api.github.com/users/annapawlicka/repos","events_url":"https://api.github.com/users/annapawlicka/events{/privacy}","received_events_url":"https://api.github.com/users/annapawlicka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clojars/clojars-web/labels/feature","name":"feature","color":"a5faca"},{"url":"https://api.github.com/repos/clojars/clojars-web/labels/ready","name":"ready","color":"d4c5f9"},{"url":"https://api.github.com/repos/clojars/clojars-web/labels/small","name":"small","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-08-25T10:19:05Z","updated_at":"2016-01-09T19:12:06Z","closed_at":"2016-01-09T19:12:06Z","body":"When I make an ajax GET request, I see this error: \r\n```\r\nXMLHttpRequest cannot load https://clojars.org/stats/all.edn. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.\r\n```\r\nAsking for ```format=jsonp``` returns plain json so the only workaround seems to be using a proxy where my server would make a request to clojars while my application would make a request to my server. I'd like to avoid that since the application is so tiny it doesn't need a server.\r\n\r\nIs there any chance the make the API respond with Access-Control-Allow-Origin header?"}}