404 Error for a Mod_plsql Procedure Called with POST Method, GET Request Works
(Doc ID 2603438.1)
Last updated on DECEMBER 02, 2019
Applies to:Oracle REST Data Services - Version 19.2 and later
Oracle HTTP Server - Version 22.214.171.124.0 to 126.96.36.199.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.
Installed ORDS v19.2 without APEX.
GET requests are working fine, however, when a POST request, and "HTTP 404" error is seen in the browser with the following message:
The request could not be mapped to any database. Check the request URL is correct, and that URL to database mappings have been correctly configured.
This simple testing GET procedure test_ords works:
But POST using below command-line gives "HTTP 404" error.
curl -i -X POST --data-binary @test-payload.json -H "Content-Type: application/json" http://<HOST>:<PORT>/ords/proc1
Proc1 is defined as follow:
Moving from OHS to ORDS for mod_plsql procedures.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document