24. Use the proxy server that comes with SAP Fiori Tools to solve cross-domain problems encountered by locally running SAP UI5 applications accessing remote services

The SAP UI5 application we deployed to run in the local development environment 浏览器安全策略cannot directly access the remote OData service due to the limitation. The reason is that our SAP UI5 application runs locally on localhostthis domain name, and the domain name of the OData service requested by the remote end, for example services.odata.org, The two are not the same domain name. Due to the browser security policy, the browser rejects this 跨域的HTTP access request.

The author's A set of step-by-step learning tutorials for SAP UI5 developers has introduced many different ways to solve the problems encountered in the local development of SAP UI5 applications 跨域问题.

Guess you like

Origin blog.csdn.net/i042416/article/details/130532351