"post parameters from file"

Highlighted
One Star

"post parameters from file"

If I need to use the tHttpRequest module to make a POST request, and I need to provide parameters to the module via a file,
1) which kind of file should be?
2) how should the file be formatted/structured?

Thanks for your help.

Matteo
Seventeen Stars

Re: "post parameters from file"

You can save your parameters in a simple text file with your values as column.
Do you have a fix set of parameters or can the parameter names differ from request to request?
One Star

Re: "post parameters from file"

Hi jlolling,
different calls use different parameters set, so I can use several txt files.

If I got what you mean, to send two parameters I can simply write a file structured like this:

param1=value1
param2=value2

Without using commas and using the "=" symbol between the variable name and it's value.

Thanks again for your help,
Matteo
One Star

Re: "post parameters from file"

Parameter file for,at should be like this :
param1=value1&param2=value2

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download