"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
Highlighted
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?
Highlighted
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
Highlighted
One Star

Re: "post parameters from file"

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

2019 GARTNER 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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Downloads and Trials

Test drive Talend's enterprise products.

Downloads