nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Villard <>
Subject Re: Posting file and form params as multipart/form-data
Date Mon, 24 Oct 2016 08:59:17 GMT
Hi Rupert,

Could you give more details about how you have used InvokeHTTP processor?

The content of the incoming flow file will be used as content of the
request sent by InvokeHTTP processor and you can define all the parameters
in the processor.  What I am not sure to understand is "the other params
are not sent", what do you mean?


2016-10-22 7:23 GMT+02:00 rupert <>:

> Hi,
> I've tried to figure out how to post a file that I picked up with the
> GetFile processor as well as some additional params with a
> multipart/form-data Content-Type.
> I tried to use the InvokeHTTP and the PostHTTP method put if I send the
> content of the file as message body the other params are not sent.
> In CURL it works fine with this command:
> curl -v -X POST -F "project-file=@/home/schiessl/demos/test_file.xlsx" -F
> "format=binary/text/xml/xls/xlsx"
> Any ideas on that?
> Rupert
> --
> View this message in context: http://apache-nifi-developer-
> as-multipart-form-data-tp13695.html
> Sent from the Apache NiFi Developer List mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message