{"action":"closed","issue":{"url":"https://api.github.com/repos/thisbounty/pairing_app/issues/5","repository_url":"https://api.github.com/repos/thisbounty/pairing_app","labels_url":"https://api.github.com/repos/thisbounty/pairing_app/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/thisbounty/pairing_app/issues/5/comments","events_url":"https://api.github.com/repos/thisbounty/pairing_app/issues/5/events","html_url":"https://github.com/thisbounty/pairing_app/issues/5","id":194722836,"number":5,"title":"API Request Method","user":{"login":"thisbounty","id":23282468,"avatar_url":"https://avatars.githubusercontent.com/u/23282468?v=3","gravatar_id":"","url":"https://api.github.com/users/thisbounty","html_url":"https://github.com/thisbounty","followers_url":"https://api.github.com/users/thisbounty/followers","following_url":"https://api.github.com/users/thisbounty/following{/other_user}","gists_url":"https://api.github.com/users/thisbounty/gists{/gist_id}","starred_url":"https://api.github.com/users/thisbounty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisbounty/subscriptions","organizations_url":"https://api.github.com/users/thisbounty/orgs","repos_url":"https://api.github.com/users/thisbounty/repos","events_url":"https://api.github.com/users/thisbounty/events{/privacy}","received_events_url":"https://api.github.com/users/thisbounty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-09T23:33:35Z","updated_at":"2016-12-14T02:02:20Z","closed_at":"2016-12-14T02:02:20Z","body":"Use $http methods to send an http request to API.\r\n\r\nExample Code:\r\n\r\n```\r\n$http({method: \"post\", url: \"https://accounts.google.com/o/oauth2/token\", data: \"client_id=\" + clientId + \"&client_secret=\" + clientSecret + \"&redirect_uri=http://localhost/callback\" + \"&grant_type=authorization_code\" + \"&code=\" + requestToken })\r\n.success(function(data) {\r\n    accessToken = data.access_token;\r\n})\r\n.error(function(data, status) {\r\n    console.log(\"ERROR: \" + data);\r\n});\r\n```"}}
{"actor":{"display_login":"thisbounty"}}