[英]HTTPS endpoint of Azure event hub
I am using service that can only send messages using webhook.我正在使用只能使用 webhook 发送消息的服务。 The only thing I can set up in that webhook are HTTP endpoint, user name and password (you can see it on the screenshot below).
我可以在该 webhook 中设置的唯一内容是 HTTP 端点、用户名和密码(您可以在下面的屏幕截图中看到)。 I would like to send messages to my event hub, but I don't know how to find its HTTP endpoint.
我想向我的事件中心发送消息,但我不知道如何找到它的 HTTP 端点。 The only thing I could find was SAS Endpoint.
我唯一能找到的是 SAS 端点。
Event Hubs offers a REST API that allows you to perform a subset of the operations supported by its AMQP API.事件中心提供 REST API,允许您执行其 AMQP API 支持的操作的子集。 Publishing basic events via REST is possible and would use the endpoint:
https://{servicebusNamespace}.servicebus.windows.net/{eventHubPath}/messages
.通过 REST 发布基本事件是可能的,并且将使用端点:
https://{servicebusNamespace}.servicebus.windows.net/{eventHubPath}/messages
。
The full set of documentation for the REST API can be found here , and the specifics for sending events here . REST API 的完整文档集可在此处找到,发送事件的详细信息可在此处找到。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.