Skip to main content
  • New archived content: Talend MDM, Talend Data Catalog 8.0, and Talend 7.3 products reached their end of life in 2024. Their documentation was moved to the Talend Archive page and will no longer receive content updates.
Close announcements banner

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.

For more technologies supported by Talend, see Talend components.

The JSON file to be used reads as follows:
{"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/.

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!