Symptom
When consuming API endpoint ( https://api-sdm-di.cfapps......) which has different domain from the web system (http://<hostname>), browser will not allow this with CORS (Cross-Origin Resource Sharing) error as below:
Access to XMLHttpRequest at 'https://api-sdm-di....' from origin 'https://<hostname>' has been blocked by CORS policy.
Read more...
Environment
SAP Document Management Service
Product
Keywords
CORS, api-sdm.di, has been blocked by CORS policy. Access to XMLHttpRequest at, Access to XMLHttpRequest at 'https://api-sdm-di , KBA , BC-CP-CF-SDM-INT , Document Management, integration option , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview