{"action":"created","issue":{"url":"https://api.github.com/repos/madoublet/respond/issues/501","repository_url":"https://api.github.com/repos/madoublet/respond","labels_url":"https://api.github.com/repos/madoublet/respond/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/madoublet/respond/issues/501/comments","events_url":"https://api.github.com/repos/madoublet/respond/issues/501/events","html_url":"https://github.com/madoublet/respond/pull/501","id":211823754,"number":501,"title":"Add support for webhooks","user":{"login":"axis80","id":6088477,"avatar_url":"https://avatars1.githubusercontent.com/u/6088477?v=3","gravatar_id":"","url":"https://api.github.com/users/axis80","html_url":"https://github.com/axis80","followers_url":"https://api.github.com/users/axis80/followers","following_url":"https://api.github.com/users/axis80/following{/other_user}","gists_url":"https://api.github.com/users/axis80/gists{/gist_id}","starred_url":"https://api.github.com/users/axis80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axis80/subscriptions","organizations_url":"https://api.github.com/users/axis80/orgs","repos_url":"https://api.github.com/users/axis80/repos","events_url":"https://api.github.com/users/axis80/events{/privacy}","received_events_url":"https://api.github.com/users/axis80/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-03-03T22:52:35Z","updated_at":"2017-05-10T15:52:23Z","closed_at":"2017-03-03T23:06:43Z","pull_request":{"url":"https://api.github.com/repos/madoublet/respond/pulls/501","html_url":"https://github.com/madoublet/respond/pull/501","diff_url":"https://github.com/madoublet/respond/pull/501.diff","patch_url":"https://github.com/madoublet/respond/pull/501.patch"},"body":"This adds support for POSTing JSON data to a webhook URL when sites are created, users are created, and forms are submitted - just like in Respond 5, except that some of the data fields are formatted a slight bit differently due to schema differences in R6.  \r\n\r\nI am submitting as a PR so you can decide whether you want to include it.  I tested it pretty thoroughly and am confident that it works well."},"comment":{"url":"https://api.github.com/repos/madoublet/respond/issues/comments/300527226","html_url":"https://github.com/madoublet/respond/pull/501#issuecomment-300527226","issue_url":"https://api.github.com/repos/madoublet/respond/issues/501","id":300527226,"user":{"login":"axis80","id":6088477,"avatar_url":"https://avatars1.githubusercontent.com/u/6088477?v=3","gravatar_id":"","url":"https://api.github.com/users/axis80","html_url":"https://github.com/axis80","followers_url":"https://api.github.com/users/axis80/followers","following_url":"https://api.github.com/users/axis80/following{/other_user}","gists_url":"https://api.github.com/users/axis80/gists{/gist_id}","starred_url":"https://api.github.com/users/axis80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axis80/subscriptions","organizations_url":"https://api.github.com/users/axis80/orgs","repos_url":"https://api.github.com/users/axis80/repos","events_url":"https://api.github.com/users/axis80/events{/privacy}","received_events_url":"https://api.github.com/users/axis80/received_events","type":"User","site_admin":false},"created_at":"2017-05-10T15:52:23Z","updated_at":"2017-05-10T15:52:23Z","body":"@AKAsebu : Sorry, I didn't see the message from April 18.  \r\n\r\nI have pushed a fix to the 6.0.4 branch, which is the current development branch.\r\n\r\nThe fix is to change this:\r\n\r\n    $wh_data['siteId'] = $siteId;\r\n\r\n...to this:\r\n\r\n    $wh_data->siteId = $siteId;\r\n\r\nHope that helps.  Please let me know if you run into any other issues with it."}}
{"actor":{"display_login":"axis80"}}