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.