<?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 Nifi InvokeHttp Content-Type with GET in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/143319#M40184</link>
    <description>&lt;P&gt;The web service I'm calling requires the Content-Type header to be set to application/json, but it appears the InvokeHttp processor only sets this header if it is a POST or PUT request. Is there any way to set this header for GET requests?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2016 03:39:53 GMT</pubDate>
    <dc:creator>frankmarit</dc:creator>
    <dc:date>2016-09-09T03:39:53Z</dc:date>
    <item>
      <title>Nifi InvokeHttp Content-Type with GET</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/143319#M40184</link>
      <description>&lt;P&gt;The web service I'm calling requires the Content-Type header to be set to application/json, but it appears the InvokeHttp processor only sets this header if it is a POST or PUT request. Is there any way to set this header for GET requests?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 03:39:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/143319#M40184</guid>
      <dc:creator>frankmarit</dc:creator>
      <dc:date>2016-09-09T03:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi InvokeHttp Content-Type with GET</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/143320#M40185</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12998/frankmarit.html" nodeid="12998" target="_blank"&gt;@Frank Maritato&lt;/A&gt;&lt;P&gt;Have you looked at adding a dynamic property?  If you take a look here: &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.InvokeHTTP/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.InvokeHTTP/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"Attributes to send" is where you will want this.  So in your nifi processor it should look like the image attached, can you try that?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7504-screen-shot-2016-09-08-at-21656-pm.png" style="width: 2686px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21644i9843770553DB8D8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7504-screen-shot-2016-09-08-at-21656-pm.png" alt="7504-screen-shot-2016-09-08-at-21656-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:05:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/143320#M40185</guid>
      <dc:creator>dpinkston</dc:creator>
      <dc:date>2019-08-19T08:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi InvokeHttp Content-Type with GET</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/143321#M40186</link>
      <description>&lt;P&gt;Thanks for the answer. What you posted didn't work, but I did play with and eventually got it. What I had to do was have an UpdateAttribute processor before my InvokeHTTP that sets an attribute called "Content-Type", then in InvokeHTTP, set "attributes to send" to "Content-Type" and it worked.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 04:32:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/143321#M40186</guid>
      <dc:creator>frankmarit</dc:creator>
      <dc:date>2016-09-09T04:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi InvokeHttp Content-Type with GET</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/413915#M40187</link>
      <description>&lt;P&gt;Do you know how to retrieve the content type from the message properties when using ConsumeJMS?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2026 12:08:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-InvokeHttp-Content-Type-with-GET/m-p/413915#M40187</guid>
      <dc:creator>oka</dc:creator>
      <dc:date>2026-04-24T12:08:39Z</dc:date>
    </item>
  </channel>
</rss>

