<?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: InvokeHTTP errors Name or Service not known in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/InvokeHTTP-errors-Name-or-Service-not-known/m-p/216722#M178631</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/89301/bharatsudharsanam.html" nodeid="89301" target="_blank"&gt;@Bharath
 Sudharsanam
&lt;/A&gt;&lt;P&gt;TO get the value of attribute we need to use `${attribute_name}` in NiFi&lt;/P&gt;&lt;P&gt;I am having zip attribute to the flow file,I tried with below as Remote URL in Invoke Http processor and able to get the response back &lt;/P&gt;&lt;PRE&gt;&lt;A href="https://api.census.gov/data/1994/zbp?get=ST&amp;amp;for=zipcode:${zip}" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.census.gov/data/1994/zbp?get=ST&amp;amp;for=zipcode:${zip}&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Example:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Flow:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="85562-flow.png" style="width: 1937px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16217i0E38D471BB241B30/image-size/medium?v=v2&amp;amp;px=400" role="button" title="85562-flow.png" alt="85562-flow.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Generateflowfile configs:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="85564-gff.png" style="width: 1608px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16218i8AFB0BD805AEE90D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="85564-gff.png" alt="85564-gff.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;PRE&gt;[["ST","zipcode"],
["48","77058"]]&lt;/PRE&gt;&lt;P&gt;I'm not sure about this &lt;A href="https://api.census.gov/data/1994/zbp?get=ST&amp;amp;for=zipcode:&amp;amp;{zip}&amp;amp;key=mykey." rel="nofollow noopener noreferrer" target="_blank"&gt;&amp;amp;key=mykey&lt;/A&gt; parameters in your shared URL. If you are not using them just exclude them from the Remote URL and run again.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 03:06:57 GMT</pubDate>
    <dc:creator>Shu_ashu</dc:creator>
    <dc:date>2019-08-18T03:06:57Z</dc:date>
  </channel>
</rss>

