TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

32 点作者 mskierkowski超过 10 年前

2 条评论

icedog超过 10 年前
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 未加载
mandeepj超过 10 年前
Not sure what problem is this solving. I tried but could not figure out. Sorry
评论 #9037138 未加载