Hacker News new | past | comments | ask | show | jobs | submit login

Not sure how the webhooks are supposed to work? Pressing test seems to produce an empty POST: http://requestb.in/11fvs2r1?inspect

Would like to integrate this in my irc bot, but need to know the format to expect.




This is how I send the data to a default webhook https://github.com/xdamman/ReplayLastGoal/blob/master/hooks/...

It's being sent as a classic POST request. You should be getting the following attributes: text=Goal for Belgium! #URU 1-1 #ENG #WorldCup \n📺Video: gif=http://replaylastgoal.com/videos/2014-06-19-20-31-24.gif video=... ...

See also https://github.com/xdamman/ReplayLastGoal/blob/master/test/h...


Thanks! Got it working I think. The test worked, and I saved and it told me the hook was activated, though I received no notification for the german goal. Maybe I was a bit too late, since I only registered several minutes before the goal happened.


No POSTs for any of the other goals :(




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: