{"action":"created","issue":{"url":"https://api.github.com/repos/onthebeach/catcher/issues/6","labels_url":"https://api.github.com/repos/onthebeach/catcher/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/onthebeach/catcher/issues/6/comments","events_url":"https://api.github.com/repos/onthebeach/catcher/issues/6/events","html_url":"https://github.com/onthebeach/catcher/pull/6","id":58191094,"number":6,"title":"Enable the use of headers when generating a HTTP request","user":{"login":"michaelpreston","id":4527968,"avatar_url":"https://avatars.githubusercontent.com/u/4527968?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelpreston","html_url":"https://github.com/michaelpreston","followers_url":"https://api.github.com/users/michaelpreston/followers","following_url":"https://api.github.com/users/michaelpreston/following{/other_user}","gists_url":"https://api.github.com/users/michaelpreston/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelpreston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelpreston/subscriptions","organizations_url":"https://api.github.com/users/michaelpreston/orgs","repos_url":"https://api.github.com/users/michaelpreston/repos","events_url":"https://api.github.com/users/michaelpreston/events{/privacy}","received_events_url":"https://api.github.com/users/michaelpreston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T10:34:27Z","updated_at":"2015-02-19T10:44:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/onthebeach/catcher/pulls/6","html_url":"https://github.com/onthebeach/catcher/pull/6","diff_url":"https://github.com/onthebeach/catcher/pull/6.diff","patch_url":"https://github.com/onthebeach/catcher/pull/6.patch"},"body":"Previously, there was no way of passing through custom headers when using Catcher. This meant that when hitting some third-party API's which require authentication, we would always get back a 403 Unauthorised.\r\n\r\nThis commit addresses this by allowing an inheriting class of 'Catcher::API' to specify its own 'header' method, which will contain their required headers."},"comment":{"url":"https://api.github.com/repos/onthebeach/catcher/issues/comments/75032056","html_url":"https://github.com/onthebeach/catcher/pull/6#issuecomment-75032056","issue_url":"https://api.github.com/repos/onthebeach/catcher/issues/6","id":75032056,"user":{"login":"seenmyfate","id":67072,"avatar_url":"https://avatars.githubusercontent.com/u/67072?v=3","gravatar_id":"","url":"https://api.github.com/users/seenmyfate","html_url":"https://github.com/seenmyfate","followers_url":"https://api.github.com/users/seenmyfate/followers","following_url":"https://api.github.com/users/seenmyfate/following{/other_user}","gists_url":"https://api.github.com/users/seenmyfate/gists{/gist_id}","starred_url":"https://api.github.com/users/seenmyfate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seenmyfate/subscriptions","organizations_url":"https://api.github.com/users/seenmyfate/orgs","repos_url":"https://api.github.com/users/seenmyfate/repos","events_url":"https://api.github.com/users/seenmyfate/events{/privacy}","received_events_url":"https://api.github.com/users/seenmyfate/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T10:44:44Z","updated_at":"2015-02-19T10:44:44Z","body":"Looks good, ready to merge :+1: "}}