Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

patch method with tRestClient

Hello,

 

i have a problem with a job. 

My job is tu patch a document with new values using rest webservices using cUrl ans patch method.

I test with postman and I have no problem

 

0683p000009M1Yg.jpg

But when I use the tRestClient and the patch method, it doesn't work

 

0683p000009M1Yl.jpg0683p000009M1Ul.jpg

 

Do you have a idea? I'm using Talend 6.2.1 

 

Thanks for your answers.

 

Regards

Labels (3)
3 Replies
vapukov
Master II
Master II

Your queries in Postman and in Talend is different:

  • in Postman you send Body (XML or JSON)
  • in Talend you send query parameters, which is absolutely not hte same

 

You need prepare request Body and send it to endpoint
as example:

https://community.talend.com/t5/Design-and-Development/POST-HTTP-request-with-XML-body/m-p/141974/hi...

Anonymous
Not applicable
Author

Thanks for your answer.

 

But I've done an old job using post method and this job works (see screenshot below) So I don't understand why it doesn't work with Patch method. Is it possible that is a bug of the tRest Component? 

 

0683p000009M1Zf.jpg0683p000009M1ZV.jpg

.

 

vapukov
Master II
Master II

in this case - double check number of parameters - from the cropped picture it not clean is it same or not (no doubt order different, but not clean all there or not)