<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hema Purushothaman</title>
    <description>The latest articles on DEV Community by Hema Purushothaman (@hema_purushothaman).</description>
    <link>https://dev.to/hema_purushothaman</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1969778%2F2bde8db0-9a32-4541-b6df-0e305e2fbd90.png</url>
      <title>DEV Community: Hema Purushothaman</title>
      <link>https://dev.to/hema_purushothaman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hema_purushothaman"/>
    <language>en</language>
    <item>
      <title>Apache NIFI - Not able to extract json data</title>
      <dc:creator>Hema Purushothaman</dc:creator>
      <pubDate>Fri, 23 Aug 2024 13:16:31 +0000</pubDate>
      <link>https://dev.to/hema_purushothaman/nifi-api-is-not-giving-json-response-2p2j</link>
      <guid>https://dev.to/hema_purushothaman/nifi-api-is-not-giving-json-response-2p2j</guid>
      <description>&lt;p&gt;when I hit this Nifi api PUT/processors/{id}/run-status, I couldn't get the response in JSON. &lt;br&gt;
Instead I'm getting this &lt;br&gt;
html response.    &lt;/p&gt;

&lt;p&gt;&lt;code&gt;**&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -X PUT "http://localhost:8080/nifi-api/processors/{processor-id}/run-status" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"revision": {"version": 13},"state": "RUNNING"}'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;**&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;**
`&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;302 Found&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body bgcolor="white"&amp;gt;
&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt;302 Found&amp;lt;/h1&amp;gt;&amp;lt;/center&amp;gt;
&amp;lt;hr&amp;gt;&amp;lt;center&amp;gt;nginx/1.12.2&amp;lt;/center&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
        `                     **
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;can anyone suggest any solution for this?&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
