Skip to Main Content

ADF Rest Custom method with action name in URL instead in the request body

Joby-OracleJun 1 2022

Hi ,
I was able to create a ADF Rest with the steps as specified in the blog:
ADF BC REST 12.2.1.2 Custom Method JDeveloper Workaround (0 Bytes)
Is it possible we can have request body without parameter like “name" and “parameters" in a custom method ADF REST and have the action name in URL.

Example:
URL: {{hostAddress}}/restapp/rest/1/Employees/action/testCall
Request Body:
[ { "param1":"Hellow" },{"param2":"World"}]
Instead of :
URL: {{hostAddress}}/restapp/rest/1/Employees
Request Body:
{"name":"","parameters":[ { "param1":"Hellow" },{"param2":"World"}]}

This post has been answered by Timo Hahn on Jun 1 2022
Jump to Answer
Comments
Post Details
Added on Jun 1 2022
3 comments
101 views