Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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.


@Matt Burgess is it possible with posthttp?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.