Skip to Main Content

APEX

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!

Problem with APEX 22.1 and REST API PUT/POST

hello everyone,
I need your advice / help with using APEX and REST API PUT / POST on an AutoREST table.
Currenty this is what i've done
In Shared Component -> REST Data Source i've created a DATA source based on the AutoREST Table. I've 3 REST source operation (GET, POST and PUT)
In the PUT, i have :id in the URL pattern, in the request body template i've clicked autogenerate
in the Database Operation i've set as Update Row
In the Operation parameter, i have set like this
image.pngand inside the save process i have this
image.pngI've see that the apex_exec.execute_web_source is deprecated, What else i can use?
So, after all that, when i click on save button and the process do his job, in the APEX Debug i've see this error
image.pngIf i test with Postman, it's working really good!
But inside APEX, i can't POST or PUT without error, but GET is working great!
and if i look on the data mapping every fields are empty
image.pngAny clues about whats going on?

Thanks for your help

Comments

Post Details

Added on Sep 22 2022
6 comments
1,453 views