<?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 Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/355974#M237172</link>
    <description>&lt;P&gt;I was trying to control apache nifi processors to start/stop by calling apache nifi-api. I am using Postman to make the call, for example to start a GenerateFlowFile processor:&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://localhost:8443/processors/{processor" target="_blank" rel="noopener"&gt;https://localhost:8443/processors/{processor&lt;/A&gt;&amp;nbsp;id} (PUT Request)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;But I got the response status 403(forbidden) as shown in the image below.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="nifi-403.jpg" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36018i77A2FF66E8427125/image-size/large?v=v2&amp;amp;px=999" role="button" title="nifi-403.jpg" alt="nifi-403.jpg" /&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I was able to make a get request.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also a client self-signed certificate generated using nifi-toolkit by following this&amp;nbsp;&lt;A href="https://kylo.readthedocs.io/en/v0.10.0/security/ConfigureNiFiWithSSL.html" target="_blank" rel="noopener"&gt;https://kylo.readthedocs.io/en/v0.10.0/security/ConfigureNiFiWithSSL.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;EM&gt;from nifi.properties file:&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;ifi.security.autoreload.enabled=false&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.autoreload.interval=10 secs&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.keystore=./conf/kylo/localhost/keystore.jks&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.keystoreType=jks&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.keystorePasswd=.............&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.keyPasswd=.............&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.truststore=./conf/kylo/localhost/truststore.jks&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.truststoreType=jks&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.truststorePasswd=.............&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.user.authorizer=single-user-authorizer&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.allow.anonymous.authentication=true&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.user.login.identity.provider=single-user-provider&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.user.jws.key.rotation.period=PT1H&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.ocsp.responder.url=&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.ocsp.responder.certificate=&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;NOTE: I did not change anything in the authorizations.xml and the authorizers.xml&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;EM&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;thanks by the way for telling me to post this concern. I am new to NiFi also.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 24 Oct 2022 14:44:37 GMT</pubDate>
    <dc:creator>MaarufB</dc:creator>
    <dc:date>2022-10-24T14:44:37Z</dc:date>
    <item>
      <title>Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/355974#M237172</link>
      <description>&lt;P&gt;I was trying to control apache nifi processors to start/stop by calling apache nifi-api. I am using Postman to make the call, for example to start a GenerateFlowFile processor:&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://localhost:8443/processors/{processor" target="_blank" rel="noopener"&gt;https://localhost:8443/processors/{processor&lt;/A&gt;&amp;nbsp;id} (PUT Request)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;But I got the response status 403(forbidden) as shown in the image below.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="nifi-403.jpg" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36018i77A2FF66E8427125/image-size/large?v=v2&amp;amp;px=999" role="button" title="nifi-403.jpg" alt="nifi-403.jpg" /&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I was able to make a get request.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also a client self-signed certificate generated using nifi-toolkit by following this&amp;nbsp;&lt;A href="https://kylo.readthedocs.io/en/v0.10.0/security/ConfigureNiFiWithSSL.html" target="_blank" rel="noopener"&gt;https://kylo.readthedocs.io/en/v0.10.0/security/ConfigureNiFiWithSSL.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;EM&gt;from nifi.properties file:&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;ifi.security.autoreload.enabled=false&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.autoreload.interval=10 secs&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.keystore=./conf/kylo/localhost/keystore.jks&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.keystoreType=jks&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.keystorePasswd=.............&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.keyPasswd=.............&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.truststore=./conf/kylo/localhost/truststore.jks&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.truststoreType=jks&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.truststorePasswd=.............&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.user.authorizer=single-user-authorizer&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.allow.anonymous.authentication=true&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.user.login.identity.provider=single-user-provider&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.user.jws.key.rotation.period=PT1H&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.ocsp.responder.url=&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;nifi.security.ocsp.responder.certificate=&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;NOTE: I did not change anything in the authorizations.xml and the authorizers.xml&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;EM&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;thanks by the way for telling me to post this concern. I am new to NiFi also.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:44:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/355974#M237172</guid>
      <dc:creator>MaarufB</dc:creator>
      <dc:date>2022-10-24T14:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/355988#M237174</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101343"&gt;@MaarufB&lt;/a&gt;&amp;nbsp;Using nifi-cli outside of curl on a nifi node is definitely a challenge.&amp;nbsp; There are a lot of things you need to check.&amp;nbsp; Most of them are addressed in a similar post here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Calling-nifi-Api-using-Postman/td-p/343993" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Calling-nifi-Api-using-Postman/td-p/343993&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully you can find the solution within that post.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 15:50:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/355988#M237174</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-10-24T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356063#M237185</link>
      <description>&lt;P&gt;Thanks, I'll be back here if I can solve my issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 00:52:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356063#M237185</guid>
      <dc:creator>MaarufB</dc:creator>
      <dc:date>2022-10-25T00:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356182#M237212</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;Is it possible for single-user (default setup) to control the dataflow via API call from Postman?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 02:51:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356182#M237212</guid>
      <dc:creator>MaarufB</dc:creator>
      <dc:date>2022-10-26T02:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356207#M237224</link>
      <description>&lt;P&gt;I believe so.&amp;nbsp; Were you able to get a token using that user?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 12:41:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356207#M237224</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-10-26T12:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356271#M237245</link>
      <description>&lt;P&gt;Yes&amp;nbsp; &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;&amp;nbsp;I was able to use a token in Postman. I put the access token in Authorization Tab &amp;gt; Bearer Token every time I make a request. However, when I used PUT request I just got 403(forbidden request).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 01:40:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356271#M237245</guid>
      <dc:creator>MaarufB</dc:creator>
      <dc:date>2022-10-27T01:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356388#M237281</link>
      <description>&lt;P&gt;If you are able to get the token and communicate with the api from postman, thats a great start.&amp;nbsp; &amp;nbsp;The PUT request must have some other issue.&amp;nbsp; &amp;nbsp;Are you passing the token correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you made sure that you are able to get the token, and make the put request from nifi node with command line?&amp;nbsp; &amp;nbsp; You always want to make sure you have working samples for any api system before you try to convert them to postman.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 12:20:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/356388#M237281</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-10-28T12:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Apache NiFi components(ex. processor) via NiFi API call from Postman</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/357738#M237659</link>
      <description>&lt;P&gt;Sorry my bad, I forgot to reply here. Anyways I was able to fix the issue by clearing the cookies in the Postman and Put my Bearer token to the Authorization Header. Thanks for the help by the way.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 07:50:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Controlling-Apache-NiFi-components-ex-processor-via-NiFi-API/m-p/357738#M237659</guid>
      <dc:creator>MaarufB</dc:creator>
      <dc:date>2022-11-16T07:50:40Z</dc:date>
    </item>
  </channel>
</rss>

