Skip to main content

Hi Team

 

I am able to extract 2 files abc.json and abc.csv from directory as whole files.

Now I need to insert both in POST call through HTTP.

I tried form data, but its not working.

 

In postman I gave 2 keys “xyz”: (uploaded abc.json), “xyz1”:{uploaded csv file}

And its working

 

How to do same thing in streamsets?

 

I used groovy but its reading whole file and converting to string

 

Hi Team

 

Can someone help me on this please?

 

Regards

Priyanka

Be the first to reply!

Reply