Calling REST based Web services

From Toolsverse Knowledge Base
Jump to: navigation, search

The ETL Framework natively supports REST based Web services. You don't need to do anything special, just make sure your source connection is set to the one linked to the GET endpoint and destinations - to the PUT or POST endpoint.

You can use POST, PUT, GET and DELETE HTTP methods. Read more how to customize HTTP connection.

Use JSON, XML or text to serialize datasets and objects.

You can customize URL using {token}.

For example connection below points to the GET REST endpoint which requires access token:

<connection alias="Some REST endpoint">

You will need to set access_token as a system property. Please see examples below:

Example of the GET request

Example of the POST request