Configuring the tRESTRequest component

ESB REST

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Big Data
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Data Management Platform
Talend Real-Time Big Data Platform
Talend Data Integration
Talend ESB
Talend Open Studio for ESB
Talend Data Fabric
Talend MDM Platform
Talend Open Studio for MDM
Talend Big Data Platform
Talend Data Services Platform
task
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
EnrichPlatform
Talend Studio

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.