from Hacker News

Web Socket Hook: A bridge between web hooks and web sockets

by mskierkowski on 2/11/15, 6:07 PM with 4 comments

  • by icedog on 2/12/15, 7:15 AM

    This is better described as a 'publish-subscribe pattern using web sockets'. To be brutally honest (take this as constructive criticism), the addition of the HTTP endpoint isn't very interesting either. Implementing all this takes perhaps less than 100 lines of code.

    Furthermore, your site is susceptible to XSS

    curl http://web.sockethook.io/hook/foo --data "foo=<script>alert('hello')</script>"

  • by mandeepj on 2/12/15, 12:53 AM

    Not sure what problem is this solving. I tried but could not figure out. Sorry