{"action":"created","issue":{"url":"https://api.github.com/repos/awestruct/aweplug/issues/102","labels_url":"https://api.github.com/repos/awestruct/aweplug/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/awestruct/aweplug/issues/102/comments","events_url":"https://api.github.com/repos/awestruct/aweplug/issues/102/events","html_url":"https://github.com/awestruct/aweplug/pull/102","id":70460484,"number":102,"title":"DEVELOPER-1318 404s being returned from github during demo creation does...","user":{"login":"Dantheman720","id":938664,"avatar_url":"https://avatars.githubusercontent.com/u/938664?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantheman720","html_url":"https://github.com/Dantheman720","followers_url":"https://api.github.com/users/Dantheman720/followers","following_url":"https://api.github.com/users/Dantheman720/following{/other_user}","gists_url":"https://api.github.com/users/Dantheman720/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantheman720/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantheman720/subscriptions","organizations_url":"https://api.github.com/users/Dantheman720/orgs","repos_url":"https://api.github.com/users/Dantheman720/repos","events_url":"https://api.github.com/users/Dantheman720/events{/privacy}","received_events_url":"https://api.github.com/users/Dantheman720/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-23T16:55:28Z","updated_at":"2015-04-24T04:27:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/awestruct/aweplug/pulls/102","html_url":"https://github.com/awestruct/aweplug/pull/102","diff_url":"https://github.com/awestruct/aweplug/pull/102.diff","patch_url":"https://github.com/awestruct/aweplug/pull/102.patch"},"body":"... not fail the build"},"comment":{"url":"https://api.github.com/repos/awestruct/aweplug/issues/comments/95798174","html_url":"https://github.com/awestruct/aweplug/pull/102#issuecomment-95798174","issue_url":"https://api.github.com/repos/awestruct/aweplug/issues/102","id":95798174,"user":{"login":"LightGuard","id":29971,"avatar_url":"https://avatars.githubusercontent.com/u/29971?v=3","gravatar_id":"","url":"https://api.github.com/users/LightGuard","html_url":"https://github.com/LightGuard","followers_url":"https://api.github.com/users/LightGuard/followers","following_url":"https://api.github.com/users/LightGuard/following{/other_user}","gists_url":"https://api.github.com/users/LightGuard/gists{/gist_id}","starred_url":"https://api.github.com/users/LightGuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightGuard/subscriptions","organizations_url":"https://api.github.com/users/LightGuard/orgs","repos_url":"https://api.github.com/users/LightGuard/repos","events_url":"https://api.github.com/users/LightGuard/events{/privacy}","received_events_url":"https://api.github.com/users/LightGuard/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T04:27:37Z","updated_at":"2015-04-24T04:27:37Z","body":"This isn't going to work. You need to check the return / successful / status (successful? would be better because it checks all of the status codes). If it's successful, then use the body, This also fails if what's returned isn't nil (or at least it should), maybe it's some 404 page, or 404 json return that makes things look bad on the site like http://www.jboss.org//demos/servlets/index.html for example. In that example what was returned was \"Not Found\". That's actually valid JSON, but not what we want."}}