Passing multiple files to Talend rest service

Highlighted
Five Stars

Passing multiple files to Talend rest service

I am trying to send multiple files to Talend rest service. I am able to post data to service. but unable to handle at the service.

 

Can anyone guide me here?

 

 

Following is my .html page code.

 

<form action="http://localhost:8088/users/post/Chop13/d81039a7-097a-48e0-924b-10be4a2021e8" method="post" enctype="multipart/form-data">
<input type="file" name="id[]" multiple />
<button>upload</button>
</form>

Moderator

Re: Passing multiple files to Talend rest service

Hello,

Please have a look at this component TalendHelpCenter:tfilefetch

You are able to use it with POST and select this "Upload File" checkbox in the advanced setting. It will allow to upload one or more files to the server.

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.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read