Support Questions
Find answers, ask questions, and share your expertise

NiFi- how to http post a PDF document

I wanted to use NiFi's posthttp/invokeHttp processor to post a pdf to an API.

But considering the following curl request to replicate in NiFi:

curl -X POST "http://ipaddress:port/api/" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "pdf_file=@sample.pdf;type=application/pdf"

Which property takes the -F information in nifi attributes.

1 REPLY 1

@Matt Burgess is it possible with posthttp?