<?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 design to include REST auth in SQL to JSON to HTTP POST in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-design-to-include-REST-auth-in-SQL-to-JSON-to-HTTP-POST/m-p/336649#M232334</link>
    <description>&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm relatively new to NiFi and would like a little help in designing a data flow that looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;SELECT from a SQL data source&lt;/LI&gt;&lt;LI&gt;split/convert to JSON&lt;/LI&gt;&lt;LI&gt;optionally transform JSON&lt;/LI&gt;&lt;LI&gt;merge to 500 record batches&lt;/LI&gt;&lt;LI&gt;POST to target via REST API (requires session token from API auth POST)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I know how to create this flow in NiFi. The part I'm having trouble with is including a step that gets a session token via the REST API auth endpoint. I can get the session token using InvokeHTTP no problem. I just don't know how to add the session token to the flow file(s) containing the data to POST to the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Feb 2022 16:07:48 GMT</pubDate>
    <dc:creator>abhai</dc:creator>
    <dc:date>2022-02-19T16:07:48Z</dc:date>
    <item>
      <title>NiFi design to include REST auth in SQL to JSON to HTTP POST</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-design-to-include-REST-auth-in-SQL-to-JSON-to-HTTP-POST/m-p/336649#M232334</link>
      <description>&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm relatively new to NiFi and would like a little help in designing a data flow that looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;SELECT from a SQL data source&lt;/LI&gt;&lt;LI&gt;split/convert to JSON&lt;/LI&gt;&lt;LI&gt;optionally transform JSON&lt;/LI&gt;&lt;LI&gt;merge to 500 record batches&lt;/LI&gt;&lt;LI&gt;POST to target via REST API (requires session token from API auth POST)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I know how to create this flow in NiFi. The part I'm having trouble with is including a step that gets a session token via the REST API auth endpoint. I can get the session token using InvokeHTTP no problem. I just don't know how to add the session token to the flow file(s) containing the data to POST to the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 16:07:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-design-to-include-REST-auth-in-SQL-to-JSON-to-HTTP-POST/m-p/336649#M232334</guid>
      <dc:creator>abhai</dc:creator>
      <dc:date>2022-02-19T16:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi design to include REST auth in SQL to JSON to HTTP POST</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-design-to-include-REST-auth-in-SQL-to-JSON-to-HTTP-POST/m-p/336670#M232341</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95756"&gt;@abhai&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check my response to this &lt;A href="https://community.cloudera.com/t5/Support-Questions/NIFI-HTTP/m-p/336621/highlight/false#M232321" target="_self"&gt;question&lt;/A&gt;. It may also address yours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Sun, 20 Feb 2022 11:22:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-design-to-include-REST-auth-in-SQL-to-JSON-to-HTTP-POST/m-p/336670#M232341</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-20T11:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi design to include REST auth in SQL to JSON to HTTP POST</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-design-to-include-REST-auth-in-SQL-to-JSON-to-HTTP-POST/m-p/336714#M232358</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is exactly what I was looking for. Thanks very much!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 14:33:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-design-to-include-REST-auth-in-SQL-to-JSON-to-HTTP-POST/m-p/336714#M232358</guid>
      <dc:creator>abhai</dc:creator>
      <dc:date>2022-02-21T14:33:56Z</dc:date>
    </item>
  </channel>
</rss>

