119

我知道的跨域与安全

 6 years ago
source link: https://juejin.im/post/5a6320d56fb9a01cb64ee191
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
关于跨域,有两个误区:1. ✕ 动态请求就会有跨域的问题✔ 跨域只存在于浏览器端,不存在于安卓/ios/Node.js/python/ java等其它环境2. ✕ 跨域就是请求发不出去了✔ 跨域请求能发出去,服务端能收到请求并正常返回结果,只是结果被浏览器拦截

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK