Create a Rest Resource to have PATCH method

How can you create a Rest Resource with PATCH method?

I want to offer services for external application that use SCIM standard, or other standards that request PATCH methods for update data.

Not possible unless hacking it.

For REST request, webMethods only support GET, POST, PUT, DELETE.
And for other HTTP request, webMethods only support GET, POST, PUT, HEAD, CONNECT, OPTIONS, DELETE, TRACE.

To hack it, you at least need to replace the class com.wm.app.b2b.server.RESTHandler and com.wm.net.HttpHeader.

Just did some test, even hacked these class won’t help. webMethosd will return 400 before RESTHandler is called.

Hi,

there is a watt setting available for HTTP Requests to disable OPTIONS.
watt.server.http.allowOptions=[true|false]

Regards,
Holger