关于网络钩子的问题

发布于 2024-09-19 03:18:05 字数 734 浏览 7 评论 0原文

Jeff Lindsay 创造了“webhook”一词, webhook 和 http 之间的区别回调是 webhooks 是用户定义的。我想我明白他的意思,但我在想,我问自己,普通用户(我的意思是:非开发人员)可以有效地使用 webhooks 吗?

通常人们不知道互联网是如何工作的,他们不知道 http 是什么,URL、回调或请求响应等术语对他们没有任何意义。我听说很多人不知道网络浏览器和网站之间的区别,他们认为互联网实际上是从 google.com 开始的,他们在 google 搜索框中输入所有网址...我的意思是,什么是当您不是开发人员时使用 webhooks?

您认为像 AlertGrid 这样的服务有意义吗?它是一个 webhook 使用者,您可以将其配置为在 x 时间内未收到回调时或当收到的数据满足用户定义的条件时发送警报(短信、电话、电子邮件),此外它还执行一些数据可视化操作。我们希望它能够让非开发人员也可以使用 Webhook。但它仍然需要由至少知道如何配置源来发送 Webhook 事件的人员进行初始集成。在许多情况下,只需将 URL 粘贴到文本框即可,但这似乎超出了典型用户的技能。

那么,Webhook 注定只能由软件开发人员使用,还是数百万 Facebook 或 Twitter 用户有可能开始以某种方式使用它们?

Jeff Lindsay, who coined the term 'webhook', said that the difference between webhook and http callback is that webhooks are user-defined. I think I understand what he meant, but I was thinking about it and I asked myself, can webhooks be effectively used by regular users (I mean: non-developers)?

Usually people don't have a clue how the internet works, they don't know what http is, terms like URL, callback, or request-response don't say anything to them. I've heard that many people do not know the difference between a web browser and a web site, they think that internet really starts at google.com and they type in all urls in the google search box... I mean, what's the use of webhooks when you're not a developer?

Do you think services like AlertGrid make sense? It's a webhook consumer that you can configure to dispatch alerts (SMS, phone, email) either when the callback is NOT received in x amount of time, or when the received data meets user-defined condition, plus it does some data visualization. We wanted it to make webhooks usable for non-developers. But still it requires an initial integration by someone who at least knows how to configure the source to send the webhook events. In many cases it only takes pasting an url to a textbox, but it seems to be beyond the skills of a typical user.

So, are the webhook doomed to be used by software developers only, or is there a chance that millions of Facebook or Twitter users will start making use of them somehow?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

︶ ̄淡然 2024-09-26 03:18:05

我认为使用 Webhooks 实现的东西可以变得非常用户友好。

假设 Stack Exchange 允许用户定义一个 Webhook,每当您获得徽章时就会收到通知。您可以提供自定义 URL,也可以单击简单的按钮来为您的 Facebook 或 Twitter 帐户进行设置。它可以像 Facebook 的 Like 按钮一样简单。

I think that something implemented using Webhooks can be made very user friendly.

Suppose Stack Exchange allowed users to define a webhook that would be notified whenever you earned a badge. You could supply a custom URL, or there could be simple buttons to click that would set it up for your Facebook or Twitter account. It could be as simple as the Facebook Like button.

如歌彻婉言 2024-09-26 03:18:05

是的,我认为这是个好主意。这实际上是我几个月前在脑海中设计的东西,但我并不认为该产品存在。

Webhooks 非常强大,并且拥有一个聚合/管理/调度这些回调的“服务总线”对我来说非常有吸引力。

我认为我们距离普通公众以任何有意义的方式消费 webhook 还很遥远,但我不明白为什么不这样做。我记得 RSS 是一项仅限“开发人员”使用的技术。

感谢您的链接。这个周末我会进行更多挖掘。

YES I think this is a great idea. It's actually something I designed in my head a couple months ago and didn't think the product existed.

Webhooks are extremely powerful and having a 'service bus' aggregate/manage/dispatch these callbacks is extremely compelling to me.

I think that we are a long way from the general public consuming webhooks in any sort of meaningful way but I don't see why not. I remember when RSS was a 'developer' only technology.

Thanks for the link. I'll be digging in more this weekend.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文