Why can backend proxies cross domains?
欧阳克
欧阳克 2017-06-14 10:52:51
0
3
687

Why can the back-end proxy settings be cross-domain?
Don’t quite understand

欧阳克
欧阳克

温故而知新,可以为师矣。 博客:www.ouyangke.com

reply all(3)
学霸

The same-origin policy is the browser's security policy and is not part of the HTTP protocol.

When calling the HTTP interface on the server side, it only uses the HTTP protocol and does not execute JS scripts. There is no need for a same-origin policy, so there is no cross-over problem.

刘奇

Why is there cross-domain? It is the security policy of the browser. Without the browser, there would be no cross-domain.

过去多啦不再A梦

Cross-domain is originally the same origin strategy of js

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!