tJavaFlex and Rest

Five Stars

tJavaFlex and Rest

Hello

I want to get the name of a file in a url: http://localhost:8088/references?fileName=toto.txt
and put it in tJavaFlex instead of the "D:\test2.bak" file location.
my initial code on tJavaFlex: 

Bak bak = BakReader.getInstance().read("D:\test2.bak", "utf-8");

Thanks 

Five Stars

Re: tJavaFlex and Rest

have you any solution please ?
Sixteen Stars

Re: tJavaFlex and Rest

Five Stars

Re: tJavaFlex and Rest

thanks for your response.

I want to get toto.txt from the url as parameter to replace the file location in tJavaFLex.

My code initial in tJavaFlex today is:

 Bak bak = BakReader.getInstance().read("D:\test2.bak", "utf-8");

my url : 

http://localhost:8088/references?fileName=toto.txt.

What I want is: 

Bak bak = BakReader.getInstance().read("D:\toto.txt, "utf-8");

Thank you 

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

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