我需要创建Mule连接器还是可以使用Hosted API?

时间:2017-04-12 05:22:10

标签: rest api asp.net-web-api mule mule-studio

我有一个场景,我需要将salesforce,zendesk,marketo或slack中的数据同步到我的Web应用程序。

所以,我研究过我可以在这种情况下使用Mulesoft连接器。还有很多可用于在这些应用程序之间同步数据的示例,但我需要将这些应用程序中的数据同步到我的Web应用程序。

我尝试创建API,但我很困惑如何使用自己的API连接器。

所以,我的问题是我需要创建自己的连接器,或者我可以简单地使用HTTP连接器来同步数据。

3 个答案:

答案 0 :(得分:1)

@Virendra yadav,

This can be done in two ways:

a. Either you consume APIs of all the applications directly in your web app. b. Create APIs in Mule which will internally call slack/salesforce APIs and will give you the result. Your APIs will be something like this: Take request -> call slack/salesforce/marketo -> transform and send it to your webapp.

Just to add slack/salesforce are capable of exposing data through there own API's.

Regards, Suyog.

答案 1 :(得分:0)

您要使用的API可能有也可能没有连接器,但您可以使用HTTP连接器连接它们。

答案 2 :(得分:0)

您可以使用简单的HTTP连接器来使用RestAPI,然后使用转换器将数据转换为适当的格式

相关问题