I am working with invokehttp module and need to make a POST request. It has three parameters: -H, -d, -F. -H meanings are transmitted through a couple of attributes and its meaning. -d - through flowfile content in a necessary view.
How do I transmit -F parameter? I want to use rest api rocket.chat on nifi.
@QWERTY I am not sure what you mean by parameters for InvokeHttp. If you can explain further perhaps I can comment more. That said, I have used InvokeHTTP (Nifi 1.9+) many times for many Use Cases and all elements needed are part of this processor for $_GET & $_POST to any API.
POST Body (file) Content goes in the content of the Flow File
Additional Configuration is found in the Processor Configuration Values to send headers, authorization details, ssl details, proxy, etc.
I suspect you may find that -F is #2 above.
If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.