Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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
576 views