tRestClient using HTTP Method PATCH

Highlighted
Six Stars

tRestClient using HTTP Method PATCH

Hi,

 

I am using tRestClient component because the tRest component does not have the Method PATCH.  Now, I have tested the parameters in Postman (successful) and then apply it to my job using tRestClient component.  The job ran without any errors and produced the 200 status and the proper response back.  However, the PATCH did not work.  It seemed like it was a GET method and not a PATCH because it didn't update the object I wanted to update.

 

Does the PATCH method works in Talend?

Moderator

Re: tRestClient using HTTP Method PATCH

Hello,

 Could you please clarify in which Talend version/edition you are? Would you mind posting your job setting screenshots on forum which will be helpful for us to address your issue?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: tRestClient using HTTP Method PATCH

Hi,  Here are the screenshots.

 PATCH1.PNGPostman HeaderPATCH2.PNGPostman BodyTALENDPATCH1.PNGPATCH jobtFixedFlowInput.PNGFixed Flow InputtXMLMap.PNGXMLMaptRESTClient.PNGtRestClienttRESTClientAdvance.PNGtRestClient Advance

Thanks for your help

Six Stars

Re: tRestClient using HTTP Method PATCH

Hi,

 

Is there anyone has tried the PATCH method using tRestClient component?

 

It seems like it does not work but if anyone had used it and it works, please correct my job.  

 

Greatly appreciate it.

 

Thanks

Rhoda

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog