Support For "PATCH" HTTP Method In OAM
Last updated on JANUARY 26, 2018
Applies to:Oracle Access Manager - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
We are developing an application which includes a REST-API that should support the http-method "PATCH".
But when defining resources in the OAM application domain, there is no "PATCH" operation available in the "Operations" section.
Mostly, we choose "All" for setting "Operations Available", and then the HTTP-Method doesn't matter.
But for this website, we already had to configure a separate resource that's only valid for "Operations Available" = "OPTIONS", so for "normal" http requests (excluding OPTIONS), I had to create a second resource and select all other "Operations Available". But that list doesn't include the "PATCH" HTTP-Method.
That means that when a request comes in with the PATCH HTTP-method, OAM denies access to the resource and returns an HTTP-404.
So, how can I include the "PATCH" HTTP-Method in the "Operations Available" list for the resource?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms