RESTful Service Best Practices: Handling Cross-Domain Issues

CORS是一种Web浏览器技术规范,它定义了Web服务器允许其资源被来自不同域的Web页面访问的方式。

CORS,is a web browser technology specification, which defines ways for a web server to allow its resources to be accessed by a web page from a different domain.

the browser's same origin policy or common-source requirement

我们都听说过围绕浏览器的原始策略或共源要求。换句话说,浏览器只能向当前显示的站点发出请求。例如,如果当前显示的网站是www.Example1.com,则该网站无法对www.Example2.com执行请求。显然,这会影响网站访问服务的方式。

你可能感兴趣的:(RESTful Service Best Practices: Handling Cross-Domain Issues)