{"action":"created","issue":{"url":"https://api.github.com/repos/inCaller/prometheus_bot/issues/1","repository_url":"https://api.github.com/repos/inCaller/prometheus_bot","labels_url":"https://api.github.com/repos/inCaller/prometheus_bot/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/inCaller/prometheus_bot/issues/1/comments","events_url":"https://api.github.com/repos/inCaller/prometheus_bot/issues/1/events","html_url":"https://github.com/inCaller/prometheus_bot/issues/1","id":177664252,"number":1,"title":"thank you / hint for http 400 response on windows","user":{"login":"man-at-home","id":5624492,"avatar_url":"https://avatars.githubusercontent.com/u/5624492?v=3","gravatar_id":"","url":"https://api.github.com/users/man-at-home","html_url":"https://github.com/man-at-home","followers_url":"https://api.github.com/users/man-at-home/followers","following_url":"https://api.github.com/users/man-at-home/following{/other_user}","gists_url":"https://api.github.com/users/man-at-home/gists{/gist_id}","starred_url":"https://api.github.com/users/man-at-home/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/man-at-home/subscriptions","organizations_url":"https://api.github.com/users/man-at-home/orgs","repos_url":"https://api.github.com/users/man-at-home/repos","events_url":"https://api.github.com/users/man-at-home/events{/privacy}","received_events_url":"https://api.github.com/users/man-at-home/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-18T17:18:37Z","updated_at":"2016-10-10T11:13:55Z","closed_at":null,"body":"thank you for your work. I am using this bot now in my prometheus installation.\r\n\r\nI had to change the deserialization of alerts for me. Though it worked it always hat an 400 http error set - and at least with my windows environment the subsequent \"c.AbortWithStatus(http.StatusOK)\" would not work - so alertmanager would get an 400 back und retry the message endlessly. \r\nSo I changed:\r\n```go\r\n\t\tvar alerts Alerts\r\n\t\t//\t\tc.BindJSON(&alerts)\r\n\t\tbinding.JSON.Bind(c.Request, &alerts)\r\n```"},"comment":{"url":"https://api.github.com/repos/inCaller/prometheus_bot/issues/comments/252589665","html_url":"https://github.com/inCaller/prometheus_bot/issues/1#issuecomment-252589665","issue_url":"https://api.github.com/repos/inCaller/prometheus_bot/issues/1","id":252589665,"user":{"login":"AndreaGreco","id":4542144,"avatar_url":"https://avatars.githubusercontent.com/u/4542144?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreaGreco","html_url":"https://github.com/AndreaGreco","followers_url":"https://api.github.com/users/AndreaGreco/followers","following_url":"https://api.github.com/users/AndreaGreco/following{/other_user}","gists_url":"https://api.github.com/users/AndreaGreco/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreaGreco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreaGreco/subscriptions","organizations_url":"https://api.github.com/users/AndreaGreco/orgs","repos_url":"https://api.github.com/users/AndreaGreco/repos","events_url":"https://api.github.com/users/AndreaGreco/events{/privacy}","received_events_url":"https://api.github.com/users/AndreaGreco/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T11:13:55Z","updated_at":"2016-10-10T11:13:55Z","body":"@man-at-home I try copy past your code it not compile, but i don't know golang then i miss somethink."}}
{"actor":{"display_login":"AndreaGreco"}}