0

I'm trying to make invokeHTTP processor to send multipart/form-data request, and I cant 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?

Thanks!

Liad Sagi
  • 63
  • 9

1 Answers1

2
  1. yes - you could set multipart/form-data
  2. you have to build the multipart/form-data format (no build-in nifi methods)
  3. links below

multipart with one file: Nifi multipart form

multipart with multiple files: Posting multiple files using invokehttp to API using nifi

daggett
  • 26,404
  • 3
  • 40
  • 56