ords query parameters code example
Example 1: ORDS send to endpoint
BEGIN
ORDS.DEFINE_PARAMETER(
p_module_name => 'module_ws',
p_pattern => 'bookings/',
p_method => 'DELETE',
p_name => 'X-APEX-STATUS-CODE',
p_bind_variable_name => 'status',
p_source_type => 'HEADER',
p_access_method => 'OUT'
);
COMMIT;
END;
Example 2: ORDS parameters
$ curl -H "id:7788" -H "ename:SCOTT" http://myserver:8080/ords/cmr/hr/testheader