Enable Cross-Origin Support for Swagger UI
You may come across network error issues when accessing the REST API by using the cross-origin resource sharing (CORS) on Mozilla Firefox and Internet Explorer. To resolve the issues, you must enable the cross-origin support.
- Mozilla Firefox: Install and enable the Allow CORS: Access-Control-Allow-Origin plug-in. For information, see the Mozilla Firefox documentation.
- Internet Explorer: Perform the following steps:
- Click .
- In the Security tab, click Custom level.
- In the section, enable the Access data sources across domain option.
- Click OK.
- Click Apply.
- Click OK.