Creating a CORS policy

  1. To create a CORS policy, open the API manager portal and select the required API. Choose the CORS policy from the Security policies and hit Apply:
Define CORS policy in the management portal
  1. On the window that pops up, enter the basic API policy details and hit the arrow to proceed to the next screen:
CORS policy description
  1. In the next screen, enter a list of one or more allowed domains. In the case of MRA, the main root URL is used as follows. This means that all requests from the domain are allowed:
CORS policy ...

Get Implementing Oracle API Platform Cloud Service now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.