<?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 Post HTTP Attributes to Send as HTTP Headers (Regex) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122680#M85434</link>
    <description>&lt;P&gt;Hi, Im using Apache Nifi , and I'm trying to send an HTTP POST request to my server API, my API needs  a custom header in the HTTP Headers part like the following :&lt;/P&gt;&lt;P&gt;API-KEY : secret-key&lt;/P&gt;&lt;P&gt;How can I add this custome header in my POSTHTTP processor ?&lt;/P&gt;</description>
    <pubDate>Sat, 26 Nov 2016 01:58:08 GMT</pubDate>
    <dc:creator>azelmat_hamza</dc:creator>
    <dc:date>2016-11-26T01:58:08Z</dc:date>
    <item>
      <title>Post HTTP Attributes to Send as HTTP Headers (Regex)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122680#M85434</link>
      <description>&lt;P&gt;Hi, Im using Apache Nifi , and I'm trying to send an HTTP POST request to my server API, my API needs  a custom header in the HTTP Headers part like the following :&lt;/P&gt;&lt;P&gt;API-KEY : secret-key&lt;/P&gt;&lt;P&gt;How can I add this custome header in my POSTHTTP processor ?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2016 01:58:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122680#M85434</guid>
      <dc:creator>azelmat_hamza</dc:creator>
      <dc:date>2016-11-26T01:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Post HTTP Attributes to Send as HTTP Headers (Regex)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122681#M85435</link>
      <description>&lt;P&gt;If you use InvokeHTTP (with HTTP Method property set to PUT), the property Attributes to Send will send attributes as headers in the HTTP request.  (You may have to use UpdateAttribute processor to set the attributes).&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.InvokeHTTP/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.InvokeHTTP/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;If this is what you are looking for, let me know by accepting the answer; else, let me know of any gaps or follow-up questions.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2016 22:34:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122681#M85435</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-11-26T22:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Post HTTP Attributes to Send as HTTP Headers (Regex)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122682#M85436</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@Greg Keys&lt;/A&gt;&lt;P&gt; How did you manage to implement this? I've tried with the invokeHTTP with POST, GET and PUT with update attributes as an input sending the value for Headers to the invokeHTTP but it doesnt appear to work, I have put a proxy inline and that also never sees the headers being sent? I am trying to access the alientvault API, their example is &lt;/P&gt;&lt;P&gt;curl &lt;A href="https://otx.alienvault.com:443/api/v1/pulses/subscribed?page=1" target="_blank"&gt;https://otx.alienvault.com:443/api/v1/pulses/subscribed?page=1&lt;/A&gt; -H "X-OTX-API-KEY: LONGKEYHASHGOESHERE"&lt;/P&gt;&lt;P&gt;Or am I over thinking this and there is an easy way using getHTTP? &lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 19:36:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122682#M85436</guid>
      <dc:creator>brioscaibriste</dc:creator>
      <dc:date>2017-08-04T19:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Post HTTP Attributes to Send as HTTP Headers (Regex)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122683#M85437</link>
      <description>&lt;P&gt;Example &lt;A href="https://community.hortonworks.com/articles/69930/posting-data-to-azure-event-hubs-using-nifi-and-ht.html" target="_blank"&gt;https://community.hortonworks.com/articles/69930/posting-data-to-azure-event-hubs-using-nifi-and-ht.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 19:44:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Post-HTTP-Attributes-to-Send-as-HTTP-Headers-Regex/m-p/122683#M85437</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-08-04T19:44:50Z</dc:date>
    </item>
  </channel>
</rss>

