<?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 Re: NiFi provide Rest API to get data in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157903#M53217</link>
    <description>&lt;P&gt;You can have a look at unit tests of this processor:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListenHTTP.java" target="_blank"&gt;https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListenHTTP.java&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 23:40:42 GMT</pubDate>
    <dc:creator>pvillard</dc:creator>
    <dc:date>2017-02-02T23:40:42Z</dc:date>
    <item>
      <title>NiFi provide Rest API to get data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157900#M53214</link>
      <description>&lt;P&gt;Could Nifi provide a rest api to allow java program to submit the data? &lt;/P&gt;&lt;P&gt;I know Nifi can call a rest api from java, but can Nifi provide a api to allow other app to push data?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 22:52:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157900#M53214</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-02T22:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi provide Rest API to get data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157901#M53215</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/15487/toandyliang.html" nodeid="15487"&gt;@Andy Liang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If you want to send data into NiFi through HTTP REST calls, you can use ListenHTTP processor. The data send to the endpoint you define in this processor will be the content of the generated flow files.&lt;/P&gt;&lt;P&gt;If you to manage what responses are sent to your client, you can also use the combination of HandleHttpRequest and HandleHttpResponse. The content of the flow file coming in HandleHttpResponse will be the body of the HTTP response sent to the client. This way you can, for example, create web services for external clients that need access to some data.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 22:54:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157901#M53215</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2017-02-02T22:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi provide Rest API to get data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157902#M53216</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt;  could the java app call the ListenHTTP processor or HandleHttpRequest directly in the java app? I know NiFi has rest-api, but I never use them. Do you know any tutorial/example/info is available?  &lt;/P&gt;&lt;P&gt;Thanks a lot, Andy&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 23:10:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157902#M53216</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-02T23:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi provide Rest API to get data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157903#M53217</link>
      <description>&lt;P&gt;You can have a look at unit tests of this processor:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListenHTTP.java" target="_blank"&gt;https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListenHTTP.java&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 23:40:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157903#M53217</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2017-02-02T23:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi provide Rest API to get data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157904#M53218</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt;  Thanks a lot for your detail advice.   HandleHttpRequest and HandleHttpResponse are exactly what I need.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 05:39:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/157904#M53218</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-08T05:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi provide Rest API to get data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/311248#M53219</link>
      <description>&lt;P&gt;Here is a cool NiFi websocket app&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.datainmotion.dev/2020/12/ingesting-websocket-data-for-live-stock.html" target="_blank"&gt;https://www.datainmotion.dev/2020/12/ingesting-websocket-data-for-live-stock.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hosting web apps in NiFi&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.datainmotion.dev/2020/11/flank-smart-weather-websocket.html" target="_blank"&gt;https://www.datainmotion.dev/2020/11/flank-smart-weather-websocket.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.datainmotion.dev/2020/12/ingesting-websocket-data-for-live-stock.html" target="_blank"&gt;https://www.datainmotion.dev/2020/12/ingesting-websocket-data-for-live-stock.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 18:41:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-provide-Rest-API-to-get-data/m-p/311248#M53219</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2021-02-09T18:41:40Z</dc:date>
    </item>
  </channel>
</rss>

