<?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 get image and correct json file in apache NiFi using post-request? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-get-image-and-correct-json-file-in-apache-NiFi-using/m-p/333814#M231519</link>
    <description>&lt;P&gt;As per my experience, the issue you faced could be the content-type(&lt;STRONG&gt;&lt;EM&gt;multipart/form-data;boundary...&lt;/EM&gt;&lt;/STRONG&gt;) is not officially supported by&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;content-viewer page&lt;/STRONG&gt;&lt;/EM&gt;'s engine.&lt;BR /&gt;It does support Content-Type (such as &lt;STRONG&gt;application/json, application/xml, text/plain&lt;/STRONG&gt; etc.) in original/formatted mode. Other types can be viewed via &lt;STRONG&gt;hex mode&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OliverGong_1-1642154921613.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33156iD83550337E217D99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OliverGong_1-1642154921613.png" alt="OliverGong_1-1642154921613.png" /&gt;&lt;/span&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-inline" image-alt="OliverGong_0-1642154629938.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33155i3BFF908521D63AAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OliverGong_0-1642154629938.png" alt="OliverGong_0-1642154629938.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Directly supported Type under original mode:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. application/json&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;2. application/xml&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;3. text/plain&lt;BR /&gt;&lt;/STRONG&gt;Note: you may also append the charset encoding to the specified content-type.&lt;BR /&gt;e.g. &lt;STRONG&gt;&lt;EM&gt;application/json;charset=utf-8&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;WORKAROUND&lt;BR /&gt;1.&amp;nbsp;You can try to put an UpdateAttribute Processor&lt;BR /&gt;(Configure it with an attribute&amp;nbsp; "&lt;STRONG&gt;mime.type&lt;/STRONG&gt;" along with the supported&lt;EM&gt;&lt;STRONG&gt; Content-Type listed above, specifying this attribute would not change the actual content, it just tells the content-viewer to depend on such way to parse and display the flowfile's content.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;)&lt;BR /&gt;2. View the flowfile's content via&amp;nbsp; Hex mode.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, and feel free to contact me if you have any questions.&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 10:33:33 GMT</pubDate>
    <dc:creator>OliverGong</dc:creator>
    <dc:date>2022-01-14T10:33:33Z</dc:date>
  </channel>
</rss>

