<?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>topic Add header element in cHttp in Route in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Add-header-element-in-cHttp-in-Route/m-p/2287780#M61330</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a scenerio. I am retreiving fingerprints of certificate in C processor component. After getting the fingerprints I want to put the fingerprints as a header in cHttp component as it should call an existing endpoint and in response I should get a token. In Advance settings of cHttp component I tried it as key = fingerprint, value= ${header.fingerprint but it did not get &lt;A href="https://fingerprint.it" alt="https://fingerprint.it" target="_blank"&gt;fingerprint. it&lt;/A&gt; is printed it as a string on console. It only works if I give a constant value of fingerprint manually. e.g key = fingerprint, value = 841753ad7699018c434c35dba51. So my question is how can I get the value of fingerprint in cHttp component ? any help would be appreciated.and the condition is&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OCql4AAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135726iE44E314FD370F7AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OCql4AAD.png" alt="0695b00000OCql4AAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:10:48 GMT</pubDate>
    <dc:creator>user19</dc:creator>
    <dc:date>2024-11-15T23:10:48Z</dc:date>
    <item>
      <title>Add header element in cHttp in Route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-header-element-in-cHttp-in-Route/m-p/2287780#M61330</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a scenerio. I am retreiving fingerprints of certificate in C processor component. After getting the fingerprints I want to put the fingerprints as a header in cHttp component as it should call an existing endpoint and in response I should get a token. In Advance settings of cHttp component I tried it as key = fingerprint, value= ${header.fingerprint but it did not get &lt;A href="https://fingerprint.it" alt="https://fingerprint.it" target="_blank"&gt;fingerprint. it&lt;/A&gt; is printed it as a string on console. It only works if I give a constant value of fingerprint manually. e.g key = fingerprint, value = 841753ad7699018c434c35dba51. So my question is how can I get the value of fingerprint in cHttp component ? any help would be appreciated.and the condition is&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OCql4AAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135726iE44E314FD370F7AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OCql4AAD.png" alt="0695b00000OCql4AAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-header-element-in-cHttp-in-Route/m-p/2287780#M61330</guid>
      <dc:creator>user19</dc:creator>
      <dc:date>2024-11-15T23:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add header element in cHttp in Route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-header-element-in-cHttp-in-Route/m-p/2287781#M61331</link>
      <description>&lt;P&gt;you have to store your value (i will suppose its name is fingerprint )  in a gloabal varaible . &lt;/P&gt;&lt;P&gt;to do this you have 2 options either use a tjava ( globalMap.put("fingerprint "), row1.fingerprint  ) &lt;/P&gt;&lt;P&gt;and then get the global variable using this globalMap.get("fingerprint ")     &lt;/P&gt;&lt;P&gt;Then in cHttp_1 pass the value globalMap.get("fingerprint ")   &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or , try using a tsetglobalvariable component see documentation here https://help.talend.com/r/oApq_IF_zN1NFA_hv2494Q/QZyYO6k~Q8rZJHIwR5J16Q &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then as in first option pass the global variable  globalMap.get("fingerprint ")    &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or pass your variable with a context varaible . &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 16:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-header-element-in-cHttp-in-Route/m-p/2287781#M61331</guid>
      <dc:creator>kakooo16</dc:creator>
      <dc:date>2022-02-24T16:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add header element in cHttp in Route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-header-element-in-cHttp-in-Route/m-p/2287782#M61332</link>
      <description>&lt;P&gt;Where are you originally setting the value of ${header.fingerprint}? Is this being set in the cProcessor? Because if this header exists, it should be being passed to the service you are calling. You are overwriting it with a constant value in the screenshot above.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 16:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-header-element-in-cHttp-in-Route/m-p/2287782#M61332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-24T16:29:19Z</dc:date>
    </item>
  </channel>
</rss>

