Hacker News new | ask | show | jobs
by xdamman 4363 days ago
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...

1 comments

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 :(