{"action":"created","issue":{"url":"https://api.github.com/repos/valor-software/ng2-file-upload/issues/162","repository_url":"https://api.github.com/repos/valor-software/ng2-file-upload","labels_url":"https://api.github.com/repos/valor-software/ng2-file-upload/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/valor-software/ng2-file-upload/issues/162/comments","events_url":"https://api.github.com/repos/valor-software/ng2-file-upload/issues/162/events","html_url":"https://github.com/valor-software/ng2-file-upload/issues/162","id":149139730,"number":162,"title":"How do I set custom request headers?","user":{"login":"noddysouthgate","id":6898441,"avatar_url":"https://avatars.githubusercontent.com/u/6898441?v=3","gravatar_id":"","url":"https://api.github.com/users/noddysouthgate","html_url":"https://github.com/noddysouthgate","followers_url":"https://api.github.com/users/noddysouthgate/followers","following_url":"https://api.github.com/users/noddysouthgate/following{/other_user}","gists_url":"https://api.github.com/users/noddysouthgate/gists{/gist_id}","starred_url":"https://api.github.com/users/noddysouthgate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noddysouthgate/subscriptions","organizations_url":"https://api.github.com/users/noddysouthgate/orgs","repos_url":"https://api.github.com/users/noddysouthgate/repos","events_url":"https://api.github.com/users/noddysouthgate/events{/privacy}","received_events_url":"https://api.github.com/users/noddysouthgate/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-18T12:42:48Z","updated_at":"2016-11-08T14:51:47Z","closed_at":"2016-04-22T11:49:57Z","body":"Hi,\n\nI am trying to send auth headers to the server. How do I set these headers?\n"},"comment":{"url":"https://api.github.com/repos/valor-software/ng2-file-upload/issues/comments/259156738","html_url":"https://github.com/valor-software/ng2-file-upload/issues/162#issuecomment-259156738","issue_url":"https://api.github.com/repos/valor-software/ng2-file-upload/issues/162","id":259156738,"user":{"login":"hetzbr","id":8347393,"avatar_url":"https://avatars.githubusercontent.com/u/8347393?v=3","gravatar_id":"","url":"https://api.github.com/users/hetzbr","html_url":"https://github.com/hetzbr","followers_url":"https://api.github.com/users/hetzbr/followers","following_url":"https://api.github.com/users/hetzbr/following{/other_user}","gists_url":"https://api.github.com/users/hetzbr/gists{/gist_id}","starred_url":"https://api.github.com/users/hetzbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hetzbr/subscriptions","organizations_url":"https://api.github.com/users/hetzbr/orgs","repos_url":"https://api.github.com/users/hetzbr/repos","events_url":"https://api.github.com/users/hetzbr/events{/privacy}","received_events_url":"https://api.github.com/users/hetzbr/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T14:51:47Z","updated_at":"2016-11-08T14:51:47Z","body":"public uploader:FileUploader = new FileUploader({\r\n        url: URL,\r\n        headers: [{\r\n            name:'Authorization',\r\n            value:'Bearer ' + localStorage.getItem('currentUser')\r\n        }]\r\n    });"}}
{"actor":{"display_login":"hetzbr"}}