Configuring the tRESTRequest component - Cloud - 8.0

ESB REST

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > ESB components > ESB REST components
Data Quality and Preparation > Third-party systems > ESB components > ESB REST components
Design and Development > Third-party systems > ESB components > ESB REST components
Last publication date
2024-02-20

About this task

To do this, proceed as follows:

Procedure

  1. Double-click tRESTRequest in the design workspace to display its Basic settings view:
  2. Fill the REST Endpoint field with the URI location where the REST-ful web service will be accessible for requests. For example, "http://localhost:8088/users".
  3. Click the [+] button to add one line in the REST API Mapping table.
  4. Select the newly-added line and click the [...] button in the Output Flow column to add a schema for the output flow.
  5. In the dialog box, name the output flow getUsers. A schema editor dialog box appears.
  6. In the schema editor, click the [+] button twice to add two lines and set them as displayed in the above screenshot.
  7. Click OK.
  8. Back to tRESTRequest Basic settings view, select GET from the list in the HTTP Verb column.
  9. Leave the URI Pattern column as is.
  10. Use the corresponding link to connect to the following component: connect tRESTRequest to tFlowToIterate using Row > getUsers connection.
  11. Leave the tFlowToIterate settings as is.
  12. Connect tFlowToIterate to tMysqlInput using Row > Iterate connection.