Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-25-2017 05:58 PM
Currently, I am using HandleHttpResponse processor to set http status code but I also want to send static body. I tried to add property but it is not working. Can anyone help me out with some pointers on what to try?
Created 08-25-2017 06:40 PM
The flowfile content should be returned as the response body. Have you provided content on the incoming flowfile?
Created 08-25-2017 06:40 PM
The flowfile content should be returned as the response body. Have you provided content on the incoming flowfile?
Created 08-25-2017 07:35 PM
I do not want to send content of incoming flowfile rather I would like set my own response body which will be static.
Created 08-27-2017 07:56 PM
Use a ReplaceText processor to replace the content of the incoming flowfile with the static response body. Because you can provide multiple outgoing connections from the previous processor, you will not lose the flowfile content, but this is the way to control the response via HandleHTTPResponse.
Created 08-29-2017 02:22 AM
Thank you! It worked for me.