Configuring the service call - 6.5

ESB REST

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
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 Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data 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

Procedure

  1. Double-click the tRESTClient component to open its Basic settings view.
  2. Fill the URL field with the URI location where the REST service is accessible, "http://localhost:8088/users" in this example.
  3. In the Relative Path field, enter the resource path, "/post/" + row1.id+ "/" + row1.first_name + "/" + row1.last_name in this example. This will send the data from the input row to the server end via the resource path.
  4. From the HTTP Method list, select GET to send an HTTP request for retrieving the existing records.
    From the Accept Type list, select the type the client end is prepared to accept for the response from the server end, XML.
  5. In the Advanced settings view of the tRESTClient component, select the Log messages check box to log the message exchange information with the server.
    Leave the rest of the settings as they are.