简体   繁体   中英

Call rest service that returns JSON in mule esb?

How to call a rest service that returns JSON in a APIKit based message flow. I want to prepare the request for Rest service and want to extract the JSON message in a message flow.

Can any one help me to do this?

Thanks

The recommended way to invoke/consume REST services in mule is the use of HTTP Request

Do let us know if there is a specific you are facing

The request connector is especially handy when consuming a RESTful API that is described in a RAML file. If you reference the API's RAML file in the connector's configuration, it will proactively offer you the set of available resources and operations contained in the RAML file, as well as enforce the policies described in the file. It will also expose the API metadata to Studio, which can then be used by other elements such as DataWeave to autocomplete fields and make configuration much easier

使用Rest URI路径调用服务,您还可以根据调用的服务类型获取json响应作为输出

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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