<?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 Post request to Rest Client from data from csv file as JSON in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Post-request-to-Rest-Client-from-data-from-csv-file-as-JSON/m-p/2232841#M22679</link>
    <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 678px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M822.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154678i8294E2240B0C876D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M822.png" alt="0683p000009M822.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hello Everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm new to Talend just learning how to use the the components.&lt;/P&gt; 
&lt;P&gt;this is use case csv -&amp;gt; map -&amp;gt; json -&amp;gt; rest api&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For the components, I implemented like this&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileInputDelimited -&amp;gt; tMap -&amp;gt; tFileOutputJson . I got the JSON I needed&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;CSV file :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;id,source,date,dataType,value&lt;BR /&gt;1,/source1,2013-12-07 05:43Z,2,1.068&lt;BR /&gt;2,/source2,2013-12-07 06:23Z,1,12345678&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;JSON body request should be something like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;[&lt;/P&gt; 
&lt;P&gt;{&lt;/P&gt; 
&lt;P&gt;"id":1,&lt;/P&gt; 
&lt;P&gt;"source":"/source1",&lt;/P&gt; 
&lt;P&gt;"date": "2013-12-07 05:40Z",&lt;/P&gt; 
&lt;P&gt;"dataType":2,&lt;/P&gt; 
&lt;P&gt;"value":1.09&lt;/P&gt; 
&lt;P&gt;}&lt;/P&gt; 
&lt;P&gt;]&lt;/P&gt; 
&lt;P&gt;now how to send the json to rest api as request?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:12:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:12:03Z</dc:date>
    <item>
      <title>Post request to Rest Client from data from csv file as JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-to-Rest-Client-from-data-from-csv-file-as-JSON/m-p/2232841#M22679</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 678px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M822.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154678i8294E2240B0C876D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M822.png" alt="0683p000009M822.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hello Everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm new to Talend just learning how to use the the components.&lt;/P&gt; 
&lt;P&gt;this is use case csv -&amp;gt; map -&amp;gt; json -&amp;gt; rest api&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For the components, I implemented like this&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileInputDelimited -&amp;gt; tMap -&amp;gt; tFileOutputJson . I got the JSON I needed&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;CSV file :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;id,source,date,dataType,value&lt;BR /&gt;1,/source1,2013-12-07 05:43Z,2,1.068&lt;BR /&gt;2,/source2,2013-12-07 06:23Z,1,12345678&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;JSON body request should be something like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;[&lt;/P&gt; 
&lt;P&gt;{&lt;/P&gt; 
&lt;P&gt;"id":1,&lt;/P&gt; 
&lt;P&gt;"source":"/source1",&lt;/P&gt; 
&lt;P&gt;"date": "2013-12-07 05:40Z",&lt;/P&gt; 
&lt;P&gt;"dataType":2,&lt;/P&gt; 
&lt;P&gt;"value":1.09&lt;/P&gt; 
&lt;P&gt;}&lt;/P&gt; 
&lt;P&gt;]&lt;/P&gt; 
&lt;P&gt;now how to send the json to rest api as request?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-to-Rest-Client-from-data-from-csv-file-as-JSON/m-p/2232841#M22679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Post request to Rest Client from data from csv file as JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Post-request-to-Rest-Client-from-data-from-csv-file-as-JSON/m-p/2232842#M22680</link>
      <description>&lt;P&gt;You dint have to save the JSON as a file. There is one more simple way you can create the JSON post it into rest API and extract the Response&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;PFA the Screenshot. I have a sample workflow that shows how you can achieve it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;If this is what you are looking for then, Press the "Accept as Solution " Button and Give&amp;nbsp;a Kudos.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;BR /&gt;AR&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwZg"&gt;post_josn_rest.png&lt;/A&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Post-request-to-Rest-Client-from-data-from-csv-file-as-JSON/m-p/2232842#M22680</guid>
      <dc:creator>Aravind_Ravi</dc:creator>
      <dc:date>2019-11-01T13:51:36Z</dc:date>
    </item>
  </channel>
</rss>

