简体   繁体   English

Shopify Webhook 与 mule 集成

[英]Shopify Webhook integrate with mule

I have created REST API for POST HTTP and import it to Mule applications then deploy it to CloudHub and used that URL in Shopify Webhook then trying to get data but unable to get data from postman...我已经为 POST HTTP 创建了 REST API 并将其导入 Mule 应用程序,然后将其部署到 CloudHub 并在 Shopify Webhook 中使用该 URL 然后尝试获取数据但无法从邮递员获取数据......

Is this a correct way to use Webhook in Mule applications...这是在 Mule 应用程序中使用 Webhook 的正确方法吗...

Since Mule runtime doesn't has a concept of webhooks there is not a correct or incorrect way to use them.由于 Mule 运行时没有 webhooks 的概念,因此没有正确或不正确的使用方式。 Mule applications can listen to HTTP requests. Mule 应用程序可以监听 HTTP 请求。 If another system sends an HTTP request to the correct URL that the Mule application is listening it should work.如果另一个系统向 Mule 应用程序正在侦听的正确 URL 发送 HTTP 请求,它应该可以工作。 To the Mule application it doesn't matter if it is coming from a webhook, another application, Postman or whatever HTTP client implementation.对于 Mule 应用程序,它是否来自 webhook、另一个应用程序、Postman 或任何 HTTP 客户端实现都无关紧要。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM