nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Taft <>
Subject Re: InvokeHTTP body
Date Sun, 13 Mar 2016 22:51:41 GMT
I think it makes total sense that POST/PUT requests read from the flowfile
content.  Therefore, the problem should be fixed further up in the flow
design.  For example, try these solutions:

GenerateFlowFile -> ReplaceText -> InvokeHTTP   (or)
GetFile -> InvokeHTTP

The problem you're describing has more to do with generating static
flowfile content, which is a separate concern from how to transfer flowfile
content over the wire via http.

If the above solutions don't work for you, perhaps a modification of
GenerateFlowFile could be made which uses static content instead of random

Hope this helps.


On Fri, Mar 11, 2016 at 6:56 AM, Pierre Villard <
> wrote:

> Hi,
> Would it make sense to add a property "body" allowing the user to manually
> set the body of the request for PUT/POST requests?
> At the moment, the body of the request seems to be only set with the
> content of incoming flow files. But it is possible to use this processor
> without incoming relationship. It would be useful to be able to set the
> body manually.
> The behaviour would be: if there is an incoming relationship, the incoming
> flow file content is used whatever the property "body" is, and if there is
> no incoming relationship, the request body is based on the property value.
> What do you think?
> Pierre

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message