Hello, I followed blog ( https://developer.oracle.com/databases/building-jet-crud-apps-odb12c ) to invoke rest web service but am getting CORS error ( refer below). Have installed ORDS within sql developer ( version 18.1.0.095) and rest service works and returns json output. I tried setting "Origins Allowed" at module level but still it gives gives the same error.
Can you please guide as how to setup the access control across domains in ORDS.
Thanks in advance.
Error :
Access to XMLHttpRequest at 'http://localhost:8080/ords/apps/hr/department/555' from origin 'http://localhost:8383' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.