nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Di Domenico <>
Subject flowfile through invokehttp put
Date Thu, 16 May 2019 14:17:43 GMT
i'm pretty new to nifi, so i'm not sure this worded correctly or
possible.  i have a flow which ends with an invokehttp process that
does a PUT to web server.

my naive understanding of this process is that when the flowfile hits
invokehttp, the flow-attributes can be sent as key:value pairs via the
http headers and the file-content gets PUT to the remote webserver via
the http content-body

is there a way to send the flow-attr and the flow-content (ie the
entire flowfile) via the PUT?

i have nifi on two ends of a connection, but in order to send the data
from one to another i have to send it through a proxy like device.
the near end of the device receives data from the PUT and far end does
a POST to a remote nifi.

this process works fine, but on the far end i only receive the file
and none of the attributes (as expected).  i cannot configure the
proxy device to pass key:value pairs in the http headers.  i'm
presuming all the flow information would have to be sent via the PUT
and then decoded by the nifi server on the far end.  i'm hoping
there's a simple connector to do this rather then having me munge all
the data together into something like an xml or json file and send

View raw message