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.
In case of a pre-flight (HTTP OPTIONS) request, SAP Mobile Platform adds these headers to the response: