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 BC REST API POST operation

Praveen Pasi-OracleJan 10 2025 — edited 5 days ago

Hi,
We are using JDeveloper 12.2.1.4.0.

In our project we have ADF BC REST API's [https://docs.oracle.com/en/middleware/developer-tools/adf/12.2.1.4/develop/creating-adf-restful-web-services-application-modules.html].

For one of the usecases, the POST operation is returning a status of 200 and updating the resource.Ideally the API should have returned a status of 201 and created the resource.

There is no customization done on the generated AM,VO classes.

Is the POST operation designed to update a resource automatically based on any condition?

Please share any pointers[logs etc] to check on why the POST is updating a resource rather than creating and returning 200 instead of 201.

Thanks,

Praveen

Comments
Post Details
Added on Jan 10 2025
3 comments
43 views