Skip to main content
Solved

File upload to HTTP


I have a file in resources directory.

I need to upload whole file through HTTP.

What options to cnfigure. Able to do it in postman

Best answer by Bikram

@Priyanka Mynepally 

 

Can you please give a try with below configurations for uploading file using HTTP processor.

In case of any issues , please provide me the details   post request format for API call where you are trying to upload file, so i can  help you on it.

 

 

 

Thanks & Regards

Bikram_

View original
Did this topic help you find an answer to your question?

3 replies

Bikram
Headliner
Forum|alt.badge.img+1
  • Headliner
  • 486 replies
  • Answer
  • April 16, 2023

@Priyanka Mynepally 

 

Can you please give a try with below configurations for uploading file using HTTP processor.

In case of any issues , please provide me the details   post request format for API call where you are trying to upload file, so i can  help you on it.

 

 

 

Thanks & Regards

Bikram_


Hi Team

I have tested this but no luck.

 

I need to upload abc.json & abc.csv at  a time,

I am able to read it simultanuesoly using directory and groovy.

But I need help on configuration for form data.

Or any groovy cde which can upload filles throgh post call


Hi @Bikram 

I have used mentioned config. Getting below error in v.5.3 SCH. I am using ‘Whole File’ data format in Directory origin. Could you please assist on this?

 


Reply