File upload to HTTP

  • 15 April 2023
  • 3 replies

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 16 April 2023, 07:05

View original

3 replies

Userlevel 5
Badge +1

@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


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?