pentahopdispoon

Pentaho - upload file using API


I need to upload a file using an API.

I tried REST CLIENT and didn't find any options. Tried with HTTP POST and that responded with 415.

Please suggest how to accomplish this


Solution

  • I solved this by using the solution from http://www.dietz-solutions.com/2017/06/pentaho-data-integration-multi-part.html

    Thanks Ben.

    He's written a Java class for Multi-part Form submission. I extendd by adding a header for Authorization...