REST call and send output to a file

Highlighted
One Star

REST call and send output to a file

Hi,

 

I would like to ask if there's a way in Talend to call an api and saves the output to a file. I've done this task but using curl command :

 

curl -X GET \
-o "test.xlsx" \
"https://www.googleapis.com/drive/v3/files/1835cuZ_htmbTtk5UjRFU09_IMhBiWn0glvl108Y0MY0/export?mimeTy..."

 

Thank you.

 

Orson

Tags (3)
Eight Stars

Re: REST call and send output to a file

Hello,

 

Have you tried component tREST and tFileOutputRaw?Výstřižek.PNG

 

 

 

 

 

Regards

Lojdr

Cloud Free Trial

Try Talend Cloud free for 30 days.

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.