美文网首页
RESTful Service Best Practices:

RESTful Service Best Practices:

作者: BenjaminCool | 来源:发表于2018-12-11 17:41 被阅读3次

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:

      本文链接:https://www.haomeiwen.com/subject/appehqtx.html