{"action":"created","issue":{"url":"https://api.github.com/repos/HoeenCoder/SpacialGaze/issues/139","repository_url":"https://api.github.com/repos/HoeenCoder/SpacialGaze","labels_url":"https://api.github.com/repos/HoeenCoder/SpacialGaze/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/HoeenCoder/SpacialGaze/issues/139/comments","events_url":"https://api.github.com/repos/HoeenCoder/SpacialGaze/issues/139/events","html_url":"https://github.com/HoeenCoder/SpacialGaze/pull/139","id":212647254,"number":139,"title":"Remove request","user":{"login":"Lord-Haji","id":17973367,"avatar_url":"https://avatars3.githubusercontent.com/u/17973367?v=3","gravatar_id":"","url":"https://api.github.com/users/Lord-Haji","html_url":"https://github.com/Lord-Haji","followers_url":"https://api.github.com/users/Lord-Haji/followers","following_url":"https://api.github.com/users/Lord-Haji/following{/other_user}","gists_url":"https://api.github.com/users/Lord-Haji/gists{/gist_id}","starred_url":"https://api.github.com/users/Lord-Haji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lord-Haji/subscriptions","organizations_url":"https://api.github.com/users/Lord-Haji/orgs","repos_url":"https://api.github.com/users/Lord-Haji/repos","events_url":"https://api.github.com/users/Lord-Haji/events{/privacy}","received_events_url":"https://api.github.com/users/Lord-Haji/received_events","type":"User","site_admin":false},"labels":[{"id":521878692,"url":"https://api.github.com/repos/HoeenCoder/SpacialGaze/labels/Needs%20Testing","name":"Needs Testing","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-08T06:15:38Z","updated_at":"2017-03-09T23:30:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HoeenCoder/SpacialGaze/pulls/139","html_url":"https://github.com/HoeenCoder/SpacialGaze/pull/139","diff_url":"https://github.com/HoeenCoder/SpacialGaze/pull/139.diff","patch_url":"https://github.com/HoeenCoder/SpacialGaze/pull/139.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/HoeenCoder/SpacialGaze/issues/comments/285518457","html_url":"https://github.com/HoeenCoder/SpacialGaze/pull/139#issuecomment-285518457","issue_url":"https://api.github.com/repos/HoeenCoder/SpacialGaze/issues/139","id":285518457,"user":{"login":"Mystifi","id":19177221,"avatar_url":"https://avatars1.githubusercontent.com/u/19177221?v=3","gravatar_id":"","url":"https://api.github.com/users/Mystifi","html_url":"https://github.com/Mystifi","followers_url":"https://api.github.com/users/Mystifi/followers","following_url":"https://api.github.com/users/Mystifi/following{/other_user}","gists_url":"https://api.github.com/users/Mystifi/gists{/gist_id}","starred_url":"https://api.github.com/users/Mystifi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mystifi/subscriptions","organizations_url":"https://api.github.com/users/Mystifi/orgs","repos_url":"https://api.github.com/users/Mystifi/repos","events_url":"https://api.github.com/users/Mystifi/events{/privacy}","received_events_url":"https://api.github.com/users/Mystifi/received_events","type":"User","site_admin":false},"created_at":"2017-03-09T23:30:50Z","updated_at":"2017-03-09T23:30:50Z","body":"`if (image_url.startsWith('http://')) request = require('https');`\r\n`request = require('http');`\r\n\r\nFirstly, you should use HTTPS if the URL starts with https*, not http. I'm guessing it's just a typo.\r\n\r\nSecondly, this won't work the way you expect it to work; even if the URL begins with https, `request` will end up being the HTTP module anyways. You should use an `if/else` statement."}}
{"actor":{"display_login":"Mystifi"}}