<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Nifi PostHTTP response data in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154545#M117001</link>
    <description>&lt;P&gt;I've successfully created a process in Nifi to send a POST to a web service, but i'm unable to find out how to incorporate the post response into the httpresponse for the caller. Does anyone know if this is possible or did I go the wrong route for a post/modify/response service?&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;the flow I have is: &lt;/P&gt;&lt;P&gt;HandleHttpRequest --&amp;gt; PutFile --&amp;gt; PostHTTP --&amp;gt; ReplaceText --&amp;gt; PutFile --&amp;gt; HandleHttpResponse&lt;/P&gt;&lt;P&gt;the only thing that seems to apply a change to the text is the ReplaceText being submitted. The first PutFile contains the text submitted, the second PutFile only contains the text modified by the replacetext. the PostHTTP result does not seem to be incorporated into the result.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2016 19:42:05 GMT</pubDate>
    <dc:creator>camatulli</dc:creator>
    <dc:date>2016-07-28T19:42:05Z</dc:date>
    <item>
      <title>Nifi PostHTTP response data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154545#M117001</link>
      <description>&lt;P&gt;I've successfully created a process in Nifi to send a POST to a web service, but i'm unable to find out how to incorporate the post response into the httpresponse for the caller. Does anyone know if this is possible or did I go the wrong route for a post/modify/response service?&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;the flow I have is: &lt;/P&gt;&lt;P&gt;HandleHttpRequest --&amp;gt; PutFile --&amp;gt; PostHTTP --&amp;gt; ReplaceText --&amp;gt; PutFile --&amp;gt; HandleHttpResponse&lt;/P&gt;&lt;P&gt;the only thing that seems to apply a change to the text is the ReplaceText being submitted. The first PutFile contains the text submitted, the second PutFile only contains the text modified by the replacetext. the PostHTTP result does not seem to be incorporated into the result.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 19:42:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154545#M117001</guid>
      <dc:creator>camatulli</dc:creator>
      <dc:date>2016-07-28T19:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PostHTTP response data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154546#M117002</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/10817/camatulli.html" nodeid="10817"&gt;@Christopher Amatulli&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Once your FlowFile is created when receiving your request, you make it goes your flow and change the content of your flow file with what you want to return to the user. Then you route this FlowFile to the response processor and you set the HTTP return code you want. The response body will be the content of your flow file.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 19:48:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154546#M117002</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-07-28T19:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PostHTTP response data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154547#M117003</link>
      <description>&lt;P&gt;That's not what is happening or at least it's not working that way in my setup. The flow I have is:&lt;/P&gt;&lt;P&gt;HandleHttpRequest --&amp;gt; PutFile --&amp;gt; PostHTTP --&amp;gt; ReplaceText --&amp;gt; PutFile --&amp;gt; HandleHttpResponse&lt;/P&gt;&lt;P&gt;the only thing that seems to apply a change to the text is the ReplaceText being submitted. The first PutFile contains the text submitted, the second PutFile only contains the text modified by the replacetext. the PostHTTP result does not seem to be incorporated into the result.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 20:11:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154547#M117003</guid>
      <dc:creator>camatulli</dc:creator>
      <dc:date>2016-07-28T20:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PostHTTP response data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154548#M117004</link>
      <description>&lt;P&gt;If possible, could you share your template, I'll have a quick look at it.&lt;/P&gt;&lt;P&gt;Is it the same flow file from one end to another? When putting your file on disk before the response processor does it have the content you are expecting? What are the properties in your response processor?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 20:18:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154548#M117004</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-07-28T20:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PostHTTP response data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154549#M117005</link>
      <description>&lt;P&gt;attached, thanks. I can trace the PostHTTP, and I see the response from the post. but the text doesn't seem to make it through to the replacetext or the second putfile.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 20:31:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154549#M117005</guid>
      <dc:creator>camatulli</dc:creator>
      <dc:date>2016-07-28T20:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PostHTTP response data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154550#M117006</link>
      <description>&lt;P&gt;Oh... looking at your template, I think I realized I misunderstood you. Your problem is that the answer of the PostHTTP is not getting inside the content of the FlowFile and the consequence is that it won't make through to the HTTP response processor. Correct?&lt;/P&gt;&lt;P&gt;If yes, it is because PostHTTP is a legacy processor and the response of the request won't be written to the flow file content. Instead I recommend you using InvokeHTTP which a more recent processor with a lot of options and you will have a relationship for HTTP responses of your POST request.&lt;/P&gt;&lt;P&gt;Let me know if it is ok.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 20:49:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154550#M117006</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-07-28T20:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PostHTTP response data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154551#M117007</link>
      <description>&lt;P&gt;InvokeHTTP looks to have gotten me closer, only issue now is I am only getting the Post response, the original text is stripped. Thanks, this solves my original problem though.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 21:07:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/154551#M117007</guid>
      <dc:creator>camatulli</dc:creator>
      <dc:date>2016-07-28T21:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PostHTTP response data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/288859#M213908</link>
      <description>&lt;P&gt;Try using SELECTHIVEQL processor for your hive connection and Hive query instead of ExecuteSQL or QueryDatabase&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 19:10:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PostHTTP-response-data/m-p/288859#M213908</guid>
      <dc:creator>Dubeyji</dc:creator>
      <dc:date>2020-01-31T19:10:08Z</dc:date>
    </item>
  </channel>
</rss>

