Configuring the tRESTRequest component - 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 tRESTRequest in the design workspace to display its Basic settings view.
  2. In the REST Endpoint field, keep the default URI "http://localhost:8088/" where the REST-ful web service will be accessible for requests.
  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. Give the name for the schema UserInfo in this scenario.
    The schema editor opens. Click the [+] button to add a new line body of Document type and click OK to save the schema.
  5. Back to tRESTRequest Basic settings view, select POST from the list in the HTTP Verb column.
  6. Fill the field in the URI Pattern column with "/UserInfo". Keep the default settings of the other options.