<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: REST http method PATCH</title><link>https://answers.axonivy.com/questions/4613/rest-http-method-patch</link><description>&lt;p&gt;Hi all
We want to call a REST API with the method PATCH. But in the selector there is no such option. Is there a way to do it anyway? Thanks for the help. &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4613/rest-http-method-patch" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 22 Jun 2020 03:06:31 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/4613/rest-http-method-patch/4614</link><description>&lt;p&gt;Hi Renato&lt;/p&gt;
&lt;p&gt;Yes, you can fire a 'PATCH' request anyway. Some REST functionalities, which are rarely used, did not get the full UI support. But you can always switch to the &lt;code&gt;JAX_RS&lt;/code&gt; mode to use the full blown rest stack API.&lt;/p&gt;
&lt;p&gt;This mode will set up a code block with a rest &lt;code&gt;client&lt;/code&gt; variable. It basically contains the pre-configured platform client and it's Jersey API to drive it. &lt;/p&gt;
&lt;p&gt;Now you can use this client to fire a request with the PATCH http method: &lt;code&gt;client.request().method("PATCH")&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/restCallPatchMethod.png"&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 22 Jun 2020 03:06:31 -0400</pubDate><guid>https://answers.axonivy.com/questions/4613/rest-http-method-patch/4614</guid></item></channel></rss>