如何使用 Talend open studio 从 API 读取 json 并将数据写入另一个 API?

How can I read json from API and write the data to another API using Talend open studio?

我需要使用 Talend open studio 从 API1 读取 json 数据并将该数据 post 读取到另一个 API,我必须使用哪些组件采用?设计如何?

提前致谢

您将使用 tRESTClient 来调用第一个服务。如何处理结果取决于在将服务 1 中的 JSON 发送到服务 2 之前,您需要对其进行多少操作(有一些组件可以操作 JSON 数据,例如 tExtractJSONFieldstWriteJSONField)。您可以使用 tXMLMap,然后使用另一个 tRESTClient 调用服务 2。请参见屏幕截图。