SAP Knowledge Base Article - Preview

3444785 - How to Enable CORS in SAP Netweaver

Symptom

Cross-Origin Resource Sharing (CORS) is a W3C spec that allows cross-domain communication from the browser. A resource makes a cross-origin HTTP request when it requests a resource from a different domain to its own. For example, an HTML page served from http://domain-a.com makes an <img> src request for http://domain-b.com/image.jpg.

The Cross-Origin Resource Sharing (CORS) mechanism gives web servers cross-domain access controls, which enable secure cross-domain data transfers. The Cross-Origin Resource Sharing standard works by adding new HTTP headers that allow servers to describe the set of origins that are permitted to read that information using a web browser.  Additionally, for HTTP request methods that can cause side-effects on server's data (in particular, for HTTP methods other than GET), the specification mandates that browsers "preflight" the request, soliciting supported methods from the server with an HTTP OPTIONS request method, and then, upon "approval" from the server, sending the actual request with the actual HTTP request method.


Read more...

Environment

SAP Netweaver

Product

SAP NetWeaver all versions

Keywords

CORS, Cross-Origin Resource Sharing, ICM, SAP, Netweaver, Web dispatcher , KBA , BC-CST-IC , Internet Communication Manager , 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.