<?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: How can I enable CORS in Jetty so I can access Nifi REST API in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349738#M235753</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92869"&gt;@RB764&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, I see. In the case of running JS code on the browser client, it makes sense to see the errors that you are seeing. That's exactly what CORS restrictions are designed for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you loading this script from a file locally on your computer or is this part from a web application that you have running on a server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is local to your computer, I would recommend that you use some other language to interact with NiFi, since running this locally on a browser has limitations. In Python, for example, you can use the &lt;A href="https://nipyapi.readthedocs.io/en/latest/" target="_self"&gt;nipyapi&lt;/A&gt; module, which makes it really easy to interact with the NiFi API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;from nipyapi import config, security
from nipyapi.nifi.apis.flow_api import FlowApi

config.nifi_config.host = 'https://&amp;lt;&amp;lt;server host:port&amp;gt;&amp;gt;/nifi-api'
security.set_service_ssl_context(service='nifi', ca_file='&amp;lt;&amp;lt;/path/to/truststore.pem&amp;gt;&amp;gt;')
security.service_login(service='nifi', username='&amp;lt;&amp;lt;user&amp;gt;&amp;gt;', password='&amp;lt;&amp;lt;pwd&amp;gt;&amp;gt;')

api = FlowApi()
summary = api.get_cluster_summary()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If what you are trying to do is part of a web application, the interaction between application and NiFi should happen on the server side instead of the browser. This would also eliminate any sort of CORS issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2022 02:12:59 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2022-08-09T02:12:59Z</dc:date>
    <item>
      <title>How can I enable CORS in Jetty so I can access Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349680#M235729</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to access Nifi REST API from a different client machine which is in a different domain. The REST API is up and running but gives me a CORS error when I try accessing the API from a client in a different domain. Please see below -&lt;/P&gt;&lt;PRE&gt;Access to XMLHttpRequest at &lt;SPAN class="hljs-string"&gt;'...'&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;from&lt;/SPAN&gt; origin &lt;SPAN class="hljs-string"&gt;'null'&lt;/SPAN&gt; has been blocked by CORS policy: Response to preflight request doesn&lt;SPAN class="hljs-string"&gt;'t pass access control check: No '&lt;/SPAN&gt;Access-Control-Allow-Origin&lt;SPAN class="hljs-string"&gt;' header is present on the requested resource.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that I need to change Jetty's web.xml to allow cross origin requests. I can't seem to find web.xml in my nifi install. This is a nifi docker container.&lt;/P&gt;&lt;P&gt;Any help I can get in this is much appreciated. Please also let me know if there's a better solution than changing web.xml. I tried CORS browser plugins but haven't been able to get them to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 05:10:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349680#M235729</guid>
      <dc:creator>RB764</dc:creator>
      <dc:date>2022-08-08T05:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable CORS in Jetty so I can access Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349681#M235730</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92869"&gt;@RB764&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are you using to access the NiFi REST API. Could you give us an example of what your API call looks like?&lt;/P&gt;&lt;P&gt;It's possible to access the API from a client in a different domain without any reconfiguration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 05:41:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349681#M235730</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-08-08T05:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable CORS in Jetty so I can access Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349684#M235733</link>
      <description>&lt;P&gt;Thanks for the prompt response &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;I am trying to call &lt;SPAN&gt;/nifi-api/flow/cluster/summary&lt;/SPAN&gt; from Javascript using XMLHttpRequest. The intent is to be able to display output from the query in the page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is as below:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;// javascript, jquery calls for calling APIs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;let&lt;/SPAN&gt; &lt;SPAN&gt;xhrPostNifi&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;XMLHttpRequest&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;xhrPostNifi&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;withCredentials&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;xhrPostNifi&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;open&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"GET"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"https://&amp;lt;&amp;lt;server url&amp;gt;&amp;gt;/nifi-api/flow/cluster/summary"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;xhrPostNifi&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;setRequestHeader&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Authorization"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Basic xxxxxxxxxxxxxxxxx"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;xhrPostNifi.setRequestHeader('Authorization', 'Bearer &amp;lt;&amp;lt;bearer token&amp;gt;&amp;gt;');&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;xhrPostNifi.setRequestHeader(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Content-type",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"application/json;charset=UTF-8"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;xhrPostNifi&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;onreadystatechange&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; () {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;readyState&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Recieved response - nifi"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;readyState&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;status&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;200&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;// Process recieved data&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;strJSONBuffer&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;responseText&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;strJSONBuffer&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;//populateFilterData();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;debug&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Response received.... "&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;strJSONBuffer&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;xhrPostNifi&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;send&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Aug 2022 06:40:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349684#M235733</guid>
      <dc:creator>RB764</dc:creator>
      <dc:date>2022-08-08T06:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable CORS in Jetty so I can access Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349685#M235734</link>
      <description>&lt;P&gt;and this is the error I get when I call using XMLHttpRequest -&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Access to XMLHttpRequest at '.../nifi-api/flow/cluster/summary' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 06:43:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349685#M235734</guid>
      <dc:creator>RB764</dc:creator>
      <dc:date>2022-08-08T06:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable CORS in Jetty so I can access Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349738#M235753</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92869"&gt;@RB764&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, I see. In the case of running JS code on the browser client, it makes sense to see the errors that you are seeing. That's exactly what CORS restrictions are designed for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you loading this script from a file locally on your computer or is this part from a web application that you have running on a server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is local to your computer, I would recommend that you use some other language to interact with NiFi, since running this locally on a browser has limitations. In Python, for example, you can use the &lt;A href="https://nipyapi.readthedocs.io/en/latest/" target="_self"&gt;nipyapi&lt;/A&gt; module, which makes it really easy to interact with the NiFi API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;from nipyapi import config, security
from nipyapi.nifi.apis.flow_api import FlowApi

config.nifi_config.host = 'https://&amp;lt;&amp;lt;server host:port&amp;gt;&amp;gt;/nifi-api'
security.set_service_ssl_context(service='nifi', ca_file='&amp;lt;&amp;lt;/path/to/truststore.pem&amp;gt;&amp;gt;')
security.service_login(service='nifi', username='&amp;lt;&amp;lt;user&amp;gt;&amp;gt;', password='&amp;lt;&amp;lt;pwd&amp;gt;&amp;gt;')

api = FlowApi()
summary = api.get_cluster_summary()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If what you are trying to do is part of a web application, the interaction between application and NiFi should happen on the server side instead of the browser. This would also eliminate any sort of CORS issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 02:12:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/349738#M235753</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-08-09T02:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable CORS in Jetty so I can access Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/350195#M235915</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt; I am using server side calls to get the information and then pass it on through to the client side. With this approach, all API calls are made from the server side component.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 23:47:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-enable-CORS-in-Jetty-so-I-can-access-Nifi-REST-API/m-p/350195#M235915</guid>
      <dc:creator>RB764</dc:creator>
      <dc:date>2022-08-16T23:47:35Z</dc:date>
    </item>
  </channel>
</rss>

