CORS Enabled Browser-Based Applications

Cross-Origin Resource Sharing (CORS) is a specification that allows scripts from one domain to make requests to another domain.

When a browser-based application, such as a JavaScript or jQuery application, sends a request to a domain other than the one it is hosted in, it is called a cross domain request. All valid CORS requests are accompanied by an origin header, which is added automatically by the browser. SAP Mobile Platform can handle all the received CORS requests.

The response headers that are added to all valid CORS requests received by SAP Mobile Platform include:

In case of a pre-flight (HTTP OPTIONS) request, SAP Mobile Platform adds these headers to the response:

Browser Restrictions with CORS

Related reference
Create Application Connection