<?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 Re: CURL tRest/tRestClient/tHttpRequest  JSON in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CURL-tRest-tRestClient-tHttpRequest-JSON/m-p/2230075#M20823</link>
    <description>&lt;P&gt;i will answer myself :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here it's my job design :&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="api_job_design.png" style="width: 972px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZym.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151024iBE378AAF669C322D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZym.png" alt="0683p000009MZym.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I do not know if it's the correct way but it's almost working&lt;/P&gt; 
&lt;P&gt;I connected my &lt;STRONG&gt;tSystem&lt;/STRONG&gt; component to a &lt;STRONG&gt;tJava &lt;/STRONG&gt;via OnSubjobOK.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Tjava&lt;/U&gt;&lt;/STRONG&gt; : Empty code&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="code_tJava.png" style="width: 423px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZqt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134626i0419488013FB07D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZqt.png" alt="0683p000009MZqt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tJavaRow : &lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tJavaRow_api.png" style="width: 640px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZmw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130145i0E7612C5B55E8F31/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZmw.png" alt="0683p000009MZmw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tExtractJSONFields :&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="textractJson_api.png" style="width: 872px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZkN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154295iEE98665DBB09BF36/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZkN.png" alt="0683p000009MZkN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tJavaRow : Transform String in String[]&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;i did that, bc length of my string is &amp;gt; 255. So i've created a column as array in postgreSQL&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&lt;STRONG&gt;String strName = input_row.kbs;
String[] strArray = new String[] {strName};
//System.out.println(strArray[0]);
output_row.kbs = strArray;
output_row.servicePack 		= input_row.servicePack ;
output_row.uptime        	= input_row.uptime;
output_row.version       	= input_row.version;
output_row.zone          	= input_row.zone;
output_row.type          	= input_row.type;
output_row.hostname      	= input_row.hostname;
output_row.site          	= input_row.site;
output_row.osComplet     	= input_row.osComplet;
output_row.env           	= input_row.env;
output_row.dateInventaire	= input_row.dateInventaire;
output_row.os            	= input_row.os;
output_row.nna           	= input_row.nna;&lt;/STRONG&gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is this the right way to proceed ? All suggestions are welcome&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;weird behaviour : when i put this url in my web broswer, i've got the answer in 30sec (80.000+ records)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&lt;STRONG&gt;https://mySite.com/index.php/ApiGetInventory/nna//serveur//&lt;/STRONG&gt;&lt;/PRE&gt; 
&lt;P&gt;But via Talend after 2H it's not finish and there is an error : SyntaxError: JSON Parse error: Unexpected EOF&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can I expect to get some answers/suggestions now that most of the work has been done?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 14:55:18 GMT</pubDate>
    <dc:creator>raoh</dc:creator>
    <dc:date>2020-04-30T14:55:18Z</dc:date>
    <item>
      <title>CURL tRest/tRestClient/tHttpRequest  JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CURL-tRest-tRestClient-tHttpRequest-JSON/m-p/2230074#M20822</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have an API which give me some information about my IT Infrastructure.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here it's an example :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;curl -i -k -H USER:plop -H PASSWORD:plop https://mySite.com/index.php/ApiGetInventory/nna//serveur/Linux_001"&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;API name is : ApiGetInventory&lt;/P&gt; 
&lt;P&gt;there are 2 mandatory parameters which are :&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;nna (void is allowed)&lt;/LI&gt; 
 &lt;LI&gt;serveur (void is allowed too,but for my example i've put a name of one server. In the near future, I will leave the value at null and thus retrieve the information from the computer park)&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;In my Studio i've used &lt;STRONG&gt;tSystem&lt;/STRONG&gt; which give me :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;VALEUR  HTTP/1.1 200 OK
Date: Tue, 28 Apr 2020 07:52:35 GMT
Server: Apache
Set-Cookie: PHPSESSID=xyzazertyuiiop; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: _pk_ses.5.8853=%2A; expires=Tue, 28-Apr-2020 08:22:35 GMT; Max-Age=1800; path=/
Set-Cookie: _pk_id.5.8853=f67b95e276009301.1588060355.1.1588060355..; expires=Wed, 26-May-2021 07:52:35 GMT; Max-Age=33955200; path=/
Set-Cookie: _pk_cvar.5.8853=false; expires=Tue, 28-Apr-2020 08:22:35 GMT; Max-Age=1800; path=/
Vary: Accept-Encoding
Content-Length: 731
Connection: close
Content-Type: application/json

{
  "nom_api": "ApiGetInventory", 
  "skip": 0, 
  "resultats": [
    {
      "servicePack": "", 
      "uptime": "243 jour(s), 09:58", 
      "version": "Red Hat Linux Server 5.4", 
      "zone": "Area-51", 
      "type": "Physical", 
      "hostname": "Linux_001", 
      "site": "Baie-4", 
      "nna": [], 
      "application": [], 
      "osComplet": "Red Hat Enterprise Linux Server 5.4", 
      "env": "Sandbox", 
      "kbs": [], 
      "dateInventaire": "2020-03-27 07:06:06", 
      "os": "Red Hat Enterprise Linux Server 5.4"
    }
  ], 
  "nb_serveurs_traites": 1, 
  "requete": {
    "os": "Linux", 
    "nna": "", 
    "serveur": "Linux_001"
  }, 
  "code_retour": 0, 
  "information_erreur": "", 
  "nb_resultats": 0
}&lt;/PRE&gt; 
&lt;P&gt;Is it the right component to use ? Can i do it with tRest/tRestClient/tHttpRequest ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can I easily exploit these results (all information in "resultats": [ { ..........}]) ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do i need to create a JSON file&amp;nbsp; ? and exploit it, with tFileInputJson, (to put it in database) ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I thank you in advance&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CURL-tRest-tRestClient-tHttpRequest-JSON/m-p/2230074#M20822</guid>
      <dc:creator>raoh</dc:creator>
      <dc:date>2024-11-16T02:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: CURL tRest/tRestClient/tHttpRequest  JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CURL-tRest-tRestClient-tHttpRequest-JSON/m-p/2230075#M20823</link>
      <description>&lt;P&gt;i will answer myself :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here it's my job design :&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="api_job_design.png" style="width: 972px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZym.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151024iBE378AAF669C322D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZym.png" alt="0683p000009MZym.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I do not know if it's the correct way but it's almost working&lt;/P&gt; 
&lt;P&gt;I connected my &lt;STRONG&gt;tSystem&lt;/STRONG&gt; component to a &lt;STRONG&gt;tJava &lt;/STRONG&gt;via OnSubjobOK.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Tjava&lt;/U&gt;&lt;/STRONG&gt; : Empty code&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="code_tJava.png" style="width: 423px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZqt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134626i0419488013FB07D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZqt.png" alt="0683p000009MZqt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tJavaRow : &lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tJavaRow_api.png" style="width: 640px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZmw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130145i0E7612C5B55E8F31/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZmw.png" alt="0683p000009MZmw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tExtractJSONFields :&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="textractJson_api.png" style="width: 872px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZkN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154295iEE98665DBB09BF36/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZkN.png" alt="0683p000009MZkN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tJavaRow : Transform String in String[]&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;i did that, bc length of my string is &amp;gt; 255. So i've created a column as array in postgreSQL&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&lt;STRONG&gt;String strName = input_row.kbs;
String[] strArray = new String[] {strName};
//System.out.println(strArray[0]);
output_row.kbs = strArray;
output_row.servicePack 		= input_row.servicePack ;
output_row.uptime        	= input_row.uptime;
output_row.version       	= input_row.version;
output_row.zone          	= input_row.zone;
output_row.type          	= input_row.type;
output_row.hostname      	= input_row.hostname;
output_row.site          	= input_row.site;
output_row.osComplet     	= input_row.osComplet;
output_row.env           	= input_row.env;
output_row.dateInventaire	= input_row.dateInventaire;
output_row.os            	= input_row.os;
output_row.nna           	= input_row.nna;&lt;/STRONG&gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is this the right way to proceed ? All suggestions are welcome&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;weird behaviour : when i put this url in my web broswer, i've got the answer in 30sec (80.000+ records)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&lt;STRONG&gt;https://mySite.com/index.php/ApiGetInventory/nna//serveur//&lt;/STRONG&gt;&lt;/PRE&gt; 
&lt;P&gt;But via Talend after 2H it's not finish and there is an error : SyntaxError: JSON Parse error: Unexpected EOF&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can I expect to get some answers/suggestions now that most of the work has been done?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 14:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CURL-tRest-tRestClient-tHttpRequest-JSON/m-p/2230075#M20823</guid>
      <dc:creator>raoh</dc:creator>
      <dc:date>2020-04-30T14:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: CURL tRest/tRestClient/tHttpRequest  JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CURL-tRest-tRestClient-tHttpRequest-JSON/m-p/2230076#M20824</link>
      <description>&lt;P&gt;I will answer myself :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;First of all to remove header just remove option -i&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here my (final ?) job design :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="api_job_design.png" style="width: 972px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZz1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150572i1BEB22684CFB65B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZz1.png" alt="0683p000009MZz1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I do not know if it's correct, but it's almost working ...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I connected my component &lt;STRONG&gt;tSystem&lt;/STRONG&gt; to a &lt;STRONG&gt;tJava&lt;/STRONG&gt; with "&lt;STRONG&gt;OnSubjobOk&lt;/STRONG&gt;". is it correct ?!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In my &lt;STRONG&gt;tJava&lt;/STRONG&gt;, code is empty&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In my &lt;STRONG&gt;tJavaRow&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&lt;STRONG&gt; row4.json = (String)globalMap.get("tSystem_1_OUTPUT");&lt;/STRONG&gt;&lt;/PRE&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tJavaRow_api.png" style="width: 983px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZz6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128855iAA1C77C26C53DD2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZz6.png" alt="0683p000009MZz6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in my &lt;STRONG&gt;tExtractJSONFields&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="textractJson_api.png" style="width: 872px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZzB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133105iAE48257A5FE0326E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZzB.png" alt="0683p000009MZzB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;in my &lt;STRONG&gt;tJavaRow_3 :&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;I did that because the value of my KBS column exceeds 255 characters. and I'm inserting, for the time being, as is...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"kbs": [
        {
          "kb": "KB3192137",
          "installedBy": "",
          "description": "Update",
          "dateInstall": "9/12/2016"
        },
        {
          "kb": "KB4091664",
          "installedBy": "",
          "description": "Update",
          "dateInstall": "10/24/2019"
        }]&lt;/PRE&gt; 
&lt;P&gt;CODE :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&lt;STRONG&gt;String strName = input_row.kbs;
String[] strArray = new String[] {strName};
//System.out.println(strArray[0]);
output_row.kbs                  = strArray;
output_row.servicePack 	        = input_row.servicePack ;
output_row.uptime        	= input_row.uptime;
output_row.version       	= input_row.version;
output_row.zone          	= input_row.zone;
output_row.type          	= input_row.type;
output_row.hostname             = input_row.hostname;
output_row.site          	= input_row.site;
output_row.osComplet            = input_row.osComplet;
output_row.env           	= input_row.env;
output_row.dateInventaire       = input_row.dateInventaire;
output_row.os            	= input_row.os;
output_row.nna           	= input_row.nna;&lt;/STRONG&gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;it works for my example&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;strange thing :&lt;/P&gt; 
&lt;P&gt;when i put this URL in my web browser :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;https://mySite.com/index.php/ApiGetInventory/nna//serveur//&lt;/PRE&gt; 
&lt;P&gt;I've got the anwser within 30 seconds (same when i use cmd prompt in Windows). But when I do it via Talend, it takes me 2 hours and I have an error of the type : &lt;SPAN class="ILfuVd NA6bn"&gt;&lt;STRONG&gt;net.minidev.json.parser.ParseException: Unexpected End Of File position 12910591: null&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="ILfuVd NA6bn"&gt;There are, only, 80.000+ records&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="ILfuVd NA6bn"&gt;any idea ? Can I expect to get some answers/suggestions now that most of the work has been done?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 15:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CURL-tRest-tRestClient-tHttpRequest-JSON/m-p/2230076#M20824</guid>
      <dc:creator>raoh</dc:creator>
      <dc:date>2020-04-30T15:29:33Z</dc:date>
    </item>
  </channel>
</rss>

