{"action":"created","issue":{"url":"https://api.github.com/repos/chafey/cornerstoneWebImageLoader/issues/3","labels_url":"https://api.github.com/repos/chafey/cornerstoneWebImageLoader/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/chafey/cornerstoneWebImageLoader/issues/3/comments","events_url":"https://api.github.com/repos/chafey/cornerstoneWebImageLoader/issues/3/events","html_url":"https://github.com/chafey/cornerstoneWebImageLoader/issues/3","id":97441912,"number":3,"title":"Fetching secured Images","user":{"login":"gauravsaini03","id":1821959,"avatar_url":"https://avatars.githubusercontent.com/u/1821959?v=3","gravatar_id":"","url":"https://api.github.com/users/gauravsaini03","html_url":"https://github.com/gauravsaini03","followers_url":"https://api.github.com/users/gauravsaini03/followers","following_url":"https://api.github.com/users/gauravsaini03/following{/other_user}","gists_url":"https://api.github.com/users/gauravsaini03/gists{/gist_id}","starred_url":"https://api.github.com/users/gauravsaini03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauravsaini03/subscriptions","organizations_url":"https://api.github.com/users/gauravsaini03/orgs","repos_url":"https://api.github.com/users/gauravsaini03/repos","events_url":"https://api.github.com/users/gauravsaini03/events{/privacy}","received_events_url":"https://api.github.com/users/gauravsaini03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T11:24:33Z","updated_at":"2015-07-27T14:38:21Z","closed_at":null,"body":"Hello,\r\n\r\nI am unable to set Authorization headers, as the images which are fetched are secured and giving 401.\r\n\r\nThanks\r\nGaurav"},"comment":{"url":"https://api.github.com/repos/chafey/cornerstoneWebImageLoader/issues/comments/125228563","html_url":"https://github.com/chafey/cornerstoneWebImageLoader/issues/3#issuecomment-125228563","issue_url":"https://api.github.com/repos/chafey/cornerstoneWebImageLoader/issues/3","id":125228563,"user":{"login":"chafey","id":1268698,"avatar_url":"https://avatars.githubusercontent.com/u/1268698?v=3","gravatar_id":"","url":"https://api.github.com/users/chafey","html_url":"https://github.com/chafey","followers_url":"https://api.github.com/users/chafey/followers","following_url":"https://api.github.com/users/chafey/following{/other_user}","gists_url":"https://api.github.com/users/chafey/gists{/gist_id}","starred_url":"https://api.github.com/users/chafey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chafey/subscriptions","organizations_url":"https://api.github.com/users/chafey/orgs","repos_url":"https://api.github.com/users/chafey/repos","events_url":"https://api.github.com/users/chafey/events{/privacy}","received_events_url":"https://api.github.com/users/chafey/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T14:38:21Z","updated_at":"2015-07-27T14:38:21Z","body":"I just modified cornerstoneWebImageLoader to use XHR to load images and included a mechanism to configure a beforeSend callback so you can modify XHR as needed (e.g. to add auth headers).  See the example on how to use this.\r\n\r\nPlease close this issue if it meets your needs\r\n"}}