TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

32 pointsby mskierkowskiover 10 years ago

2 comments

icedogover 10 years ago
This is better described as a &#x27;publish-subscribe pattern using web sockets&#x27;. To be brutally honest (take this as constructive criticism), the addition of the HTTP endpoint isn&#x27;t very interesting either. Implementing all this takes perhaps less than 100 lines of code.<p>Furthermore, your site is susceptible to XSS<p>curl <a href="http://web.sockethook.io/hook/foo" rel="nofollow">http:&#x2F;&#x2F;web.sockethook.io&#x2F;hook&#x2F;foo</a> --data &quot;foo=&lt;script&gt;alert(&#x27;hello&#x27;)&lt;&#x2F;script&gt;&quot;
评论 #9037944 未加载
mandeepjover 10 years ago
Not sure what problem is this solving. I tried but could not figure out. Sorry
评论 #9037138 未加载