Upload file through Rest Consumer

 

To upload a file using the Rest Consumer, you can follow steps as:-

 

  1. In Rest Consumer activity, you need to provide certain parameters as defined below:-
  • Check the Enable Multipart option.
  • In File Name field, provide the name of the file.
  • The Media type for Request should be multipart/form-data in the presentation table.     

             FileName.png       

     2. Process flow

  • Firstly, create a Source File activity and mention the same file name which is defined in Rest Consumer and file path of the uploading file.
  • In Process flow design, following activities should be there:-

              > File Source

              > Web Service Consumer (Rest) 

        ProcessFlow.png 

For more information, you can refer the below-attached process flow zip for the same.

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.