nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James McMahon <>
Subject Re: How to send back a reply from HandleHTTPRequest
Date Tue, 07 Feb 2017 22:51:44 GMT
Can the response be a standard http code that is automatically returned by
the HandleHTTPResponse processor? Also, is it the Handle processor that is
determining the correct response and sending it back, or a different
processor? I guess I am still confused because I did not see any provision
in the configuration for HandleHTTPResponse that sent back an http status.

On Tue, Feb 7, 2017 at 4:08 PM, Aldrin Piri <> wrote:

> HI James,
> This would occur via the HandleHTTPResponse.  At a high level, the request
> flowfile is routed to the HandleHTTPResponse processor.  Of course, any
> kind of processing could occur between the two points.
> A simple example can be located on the sample templates page with the
> Hello_NiFi_Web_Service.xml [1].  In this case, it is performing a very
> simple replacement of text that is returned to the caller.
> Please let us know if you have any additional questions.
> --aldrin
> [1]
> Example+Dataflow+Templates
> On Tue, Feb 7, 2017 at 4:04 PM, James McMahon <>
> wrote:
>> Good evening. I have a number of customer applications that will be
>> posting content to a NiFi HandleHTTPRequest processor. These apps need an
>> http reply so that they know status. I can't find in the configuration any
>> way to do that. I know that I must be overlooking what must be a
>> commonplace requirement. Can anyone tell me how they configured their
>> workflow so that it provides a response and status to the request? Thanks
>> very much. -Jim

View raw message