Skip to main content Skip to complementary content

Configuring the tRESTRequest component

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!