Scenario 2: Sending a POST request from a local JSON file
In this scenario, a four-component Job is used to read parameters from a given JSON
file and send it in a POST request to a web site.
The JSON file to be used reads as follows:
1 2 3 4 5 6 7 |
{"echo": [ { "data":"e=hello" } ] } |
From that file, tFileInputJSON reads the e parameter and its value hello and tHttpRequest sends the pair
to http://echo.itcuties.com/, an URL provided for
demonstration by an online programming community, www.itcuties.com.
Note that the e parameter is required by http://echo.itcuties.com/.
Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Login
0 Comments