One Star

PATCH action using tRESTClient

Hi, from what I can see tRESTClient only allows HTTP actions POST, GET, PUT, DELETE. Is there any way to use PATCH as I'm finding more providers incorporating this into their API's.
2 REPLIES
Community Manager

Re: PATCH action using tRESTClient

Hi 
It doesn't support custom HTTp method like PATCH yet, we have reported a jira issue:
https://jira.talendforge.org/browse/TESB-10180
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Employee

Re: PATCH action using tRESTClient

The complexity in supporting it at the tooling level is that by default tRESTClient depends on Java HTTPURLConnection which does not understand verbs like PATCH, etc. CXF HttpClient is capable but it requires using another dependency (its async http transport module). May be the solution is to create an HttpClient specific component...
Cheers, Sergey