<?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: Implementing Invokehttp Processor In Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/320880#M228205</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87710"&gt;@midee&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The invokeHTTP processor will not execute against multiple FlowFiles collectively.&amp;nbsp; You need to have one FlowFile that contains both your token in a FlowFile attribute and the desired content you are trying to post in the content.&lt;BR /&gt;&lt;BR /&gt;The dataflow that obtains the token could be merged with the other dataflow that has yoru content.&lt;BR /&gt;If you have multiple FlowFiles that will need to use the same token, yo could have to separate dataflows.&lt;BR /&gt;One that gets the token and rights it to a distributed Map Cache via the PutDistributeMapCache processor.&lt;BR /&gt;Second dataflwo the gets your content file and fetches the token via the FetchDistributedMapCache processor.&lt;BR /&gt;&lt;BR /&gt;Then you have one FlowFile with the token you need in an attribute and the content on the FlowFile to be transferred via InvokeHTTP.&lt;BR /&gt;&lt;BR /&gt;If you found this assisted with yoru query, please take a moment to login and click "Accept" on this solution.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2021 19:58:59 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2021-07-13T19:58:59Z</dc:date>
    <item>
      <title>Implementing Invokehttp Processor In Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/319946#M228051</link>
      <description>&lt;P&gt;Please help me out in this scenario:&lt;/P&gt;&lt;P&gt;1. I have to create a new project. The details are accessed using GetFileProcessor.&lt;/P&gt;&lt;P&gt;2. I have passed two input to Invokehttp Processor(one Authorization token using CustomField and other as data to be used for POST action). However, this process is not working as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the attached screenshot for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Invokehttp-Post action.PNG" style="width: 200px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31792i7048092ABAF82D03/image-size/small?v=v2&amp;amp;px=200" role="button" title="Invokehttp-Post action.PNG" alt="Invokehttp-Post action.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Data To be used for POST:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="midee_0-1625579123463.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31793iDB00A4C1EA87EC49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="midee_0-1625579123463.png" alt="midee_0-1625579123463.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Early Response much appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 13:46:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/319946#M228051</guid>
      <dc:creator>midee</dc:creator>
      <dc:date>2021-07-06T13:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Invokehttp Processor In Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/320032#M228077</link>
      <description>&lt;P&gt;Please help me ..This is bit urgent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 13:58:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/320032#M228077</guid>
      <dc:creator>midee</dc:creator>
      <dc:date>2021-07-07T13:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Invokehttp Processor In Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/320880#M228205</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87710"&gt;@midee&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The invokeHTTP processor will not execute against multiple FlowFiles collectively.&amp;nbsp; You need to have one FlowFile that contains both your token in a FlowFile attribute and the desired content you are trying to post in the content.&lt;BR /&gt;&lt;BR /&gt;The dataflow that obtains the token could be merged with the other dataflow that has yoru content.&lt;BR /&gt;If you have multiple FlowFiles that will need to use the same token, yo could have to separate dataflows.&lt;BR /&gt;One that gets the token and rights it to a distributed Map Cache via the PutDistributeMapCache processor.&lt;BR /&gt;Second dataflwo the gets your content file and fetches the token via the FetchDistributedMapCache processor.&lt;BR /&gt;&lt;BR /&gt;Then you have one FlowFile with the token you need in an attribute and the content on the FlowFile to be transferred via InvokeHTTP.&lt;BR /&gt;&lt;BR /&gt;If you found this assisted with yoru query, please take a moment to login and click "Accept" on this solution.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 19:58:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/320880#M228205</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-07-13T19:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Invokehttp Processor In Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/320948#M228223</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply and let me know about the correct flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 06:22:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Implementing-Invokehttp-Processor-In-Nifi/m-p/320948#M228223</guid>
      <dc:creator>midee</dc:creator>
      <dc:date>2021-07-15T06:22:35Z</dc:date>
    </item>
  </channel>
</rss>

