<?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: Using tRESTclient to PATCH to a web based API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-tRESTclient-to-PATCH-to-a-web-based-API/m-p/2325818#M95377</link>
    <description>Just for anyone else encountering this issue.&lt;BR /&gt;I managed to create the JSON as a context using a tJava component, then passed this into the data flow using a tMap.&lt;BR /&gt;However, when sending to the API URL, the request was being recognised as a GET and not a PATCH, despite the PATCH option being selected. Not sure if this is a bug in Talend but we could see it in the API log clear as day.&lt;BR /&gt;Talend really seems to struggle with APIs that aren't part of the standard build (such as the salesforce ones).</description>
    <pubDate>Tue, 28 Mar 2017 14:02:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-28T14:02:51Z</dc:date>
    <item>
      <title>Using tRESTclient to PATCH to a web based API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tRESTclient-to-PATCH-to-a-web-based-API/m-p/2325816#M95375</link>
      <description>Hi,&lt;BR /&gt;I have a routine where i want to take data from a spreadsheet (just 4 columns) and load 3 of the columns as a PATCH to the ID found in the first column using JSON format. Unfortunately, the web service i am loading to has an unusual structure to receive JSON and so i don't think i can use the XML or JSON file build components - ideally, i need to create all of the JSON file myself manually.&lt;BR /&gt;I got this to work using POSTMAN when i wrote the JSON myself, but now i want to automate the job in Talend but unfrotunately the tREST component doesn't support PATCH (and PUT/POST won't work). The tRESTclient component does support PATCH, but doesn't give the option to manually input the body content.&lt;BR /&gt;I've tried playing around with a tJava component to manually input the body and put it into a context, but not had any luck.&lt;BR /&gt;This is an example of the JSON structure:&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"customInformation":&lt;BR /&gt;}&lt;BR /&gt;Can anyone suggest another approach that i might be missing?&lt;BR /&gt;Many thanks!</description>
      <pubDate>Wed, 22 Mar 2017 16:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tRESTclient-to-PATCH-to-a-web-based-API/m-p/2325816#M95375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-22T16:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using tRESTclient to PATCH to a web based API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tRESTclient-to-PATCH-to-a-web-based-API/m-p/2325817#M95376</link>
      <description>Anybody?&lt;BR /&gt;Essentially - i just need an equivalent of the tREST component, but that supports PATCH. POST and PUT are not viable options for me.</description>
      <pubDate>Thu, 23 Mar 2017 10:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tRESTclient-to-PATCH-to-a-web-based-API/m-p/2325817#M95376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-23T10:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using tRESTclient to PATCH to a web based API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tRESTclient-to-PATCH-to-a-web-based-API/m-p/2325818#M95377</link>
      <description>Just for anyone else encountering this issue.&lt;BR /&gt;I managed to create the JSON as a context using a tJava component, then passed this into the data flow using a tMap.&lt;BR /&gt;However, when sending to the API URL, the request was being recognised as a GET and not a PATCH, despite the PATCH option being selected. Not sure if this is a bug in Talend but we could see it in the API log clear as day.&lt;BR /&gt;Talend really seems to struggle with APIs that aren't part of the standard build (such as the salesforce ones).</description>
      <pubDate>Tue, 28 Mar 2017 14:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tRESTclient-to-PATCH-to-a-web-based-API/m-p/2325818#M95377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-28T14:02:51Z</dc:date>
    </item>
  </channel>
</rss>

