[tfilefetch] Dynamic POST parameters from tMysqlInput

One Star

[tfilefetch] Dynamic POST parameters from tMysqlInput

Hi,
my job is like this : tMysqlInput--->tLogRow--->tFileFetch
tLogRow show something like this : param1|valeur1 param2|valeur2 param3|valeur3 ....
i'd like to post all these parameters via POST to a php file, I tried to do that with tFilFetch but I can't retrieve the parameters.
How can I do that ?
Thanks,
Michael.
Moderator

Re: [tfilefetch] Dynamic POST parameters from tMysqlInput

Hi,
Can you upload files by using TalendHelpCenter:tFileFetch component?
In Basic Settings, check "POST method" and set the POST-parameter "Name" and "File" name here.
In Advanced Settings, check "Upload file" and define parameters for each file(Name, file)
Or you can define the parameters of the requested HTTP operation or post parameters from file by using TalendHelpCenter:tHttpRequest
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch