apache-nifi

nifi invokehttp multipart/form-data support


I'm trying to make an InvokeHTTP processor to send a multipart/form-data request, and I can't figure out how.

  1. Does it support it? Can I set the Content-Type property to multipart/form-data?
  2. How should I add my FlowFile to the body under the right form?
  3. How can I add forms?

Solution

    1. Yes - you could set multipart/form-data
    2. You have to build the multipart/form-data format (no built-in Nifi methods)
    3. See links below