The Cross-Origin Resource Sharing (CORS) protocol allows you to load web resources from a proxy site onto a user site. You can set up CORS for your website by following the below steps:
To set up CORS on an existing Proxy you've created, go to the "Proxy" under Configure. Click on "Options", under Action. Select "Edit", and you can now set CORS. You can skip Step-2 if you have already set up a Proxy, and follow the further steps to continue.
If you want to create a new Proxy with CORS, click on "CORS" under Configure and then click on "Add Proxy".
Under CORS, Toggle On "Enable CORS".
Enter the Domain Name, for your website or web application.
If you want to load the web resource on another domain as well, click on "+ Add Domain" and enter the Domain name.
Click on "Submit" button to save your changes. You have now successfully set up CORS for your website and web applications.
To delete any entered Domain, click on the red minus (-) button on the right side.