{"action":"created","issue":{"url":"https://api.github.com/repos/frappe/erpnext/issues/6201","repository_url":"https://api.github.com/repos/frappe/erpnext","labels_url":"https://api.github.com/repos/frappe/erpnext/issues/6201/labels{/name}","comments_url":"https://api.github.com/repos/frappe/erpnext/issues/6201/comments","events_url":"https://api.github.com/repos/frappe/erpnext/issues/6201/events","html_url":"https://github.com/frappe/erpnext/issues/6201","id":173713946,"number":6201,"title":"Error: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://erpnext.com' is therefore not allowed access.","user":{"login":"nick9822","id":10139291,"avatar_url":"https://avatars.githubusercontent.com/u/10139291?v=3","gravatar_id":"","url":"https://api.github.com/users/nick9822","html_url":"https://github.com/nick9822","followers_url":"https://api.github.com/users/nick9822/followers","following_url":"https://api.github.com/users/nick9822/following{/other_user}","gists_url":"https://api.github.com/users/nick9822/gists{/gist_id}","starred_url":"https://api.github.com/users/nick9822/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick9822/subscriptions","organizations_url":"https://api.github.com/users/nick9822/orgs","repos_url":"https://api.github.com/users/nick9822/repos","events_url":"https://api.github.com/users/nick9822/events{/privacy}","received_events_url":"https://api.github.com/users/nick9822/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T07:35:55Z","updated_at":"2016-08-29T08:18:18Z","closed_at":null,"body":"Hi Developers,\r\n\r\nI am getting an error while calling an API of different url than erpnext.com\r\n`Error: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://erpnext.com' is therefore not allowed access.`\r\n\r\nI think there is issue of Cross-Origin Resource Sharing (CORS). Can it solved or any workaround to the same? Please advice.\r\n\r\nI made it work by using chrome extension to allow CORS, but user can be on any browser other than chrome.\r\n\r\nThanks,\r\nNick"},"comment":{"url":"https://api.github.com/repos/frappe/erpnext/issues/comments/243061249","html_url":"https://github.com/frappe/erpnext/issues/6201#issuecomment-243061249","issue_url":"https://api.github.com/repos/frappe/erpnext/issues/6201","id":243061249,"user":{"login":"nick9822","id":10139291,"avatar_url":"https://avatars.githubusercontent.com/u/10139291?v=3","gravatar_id":"","url":"https://api.github.com/users/nick9822","html_url":"https://github.com/nick9822","followers_url":"https://api.github.com/users/nick9822/followers","following_url":"https://api.github.com/users/nick9822/following{/other_user}","gists_url":"https://api.github.com/users/nick9822/gists{/gist_id}","starred_url":"https://api.github.com/users/nick9822/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick9822/subscriptions","organizations_url":"https://api.github.com/users/nick9822/orgs","repos_url":"https://api.github.com/users/nick9822/repos","events_url":"https://api.github.com/users/nick9822/events{/privacy}","received_events_url":"https://api.github.com/users/nick9822/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T08:18:18Z","updated_at":"2016-08-29T08:18:18Z","body":"@rmehta I just made a call to \r\n` $.ajax({\r\n          url: \"https://httpbin.org/get\",\r\n          success: function(response) {             \r\n              console.log(response);\r\n            }               \r\n        })`\r\n\r\nand it went fine. So Is there a problem with API host?\r\n\r\nThanks.\r\n"}}
{"actor":{"display_login":"nick9822"}}