摘要: var http=require('http'); http.get('http://baidu/dksapi/weiboLive/GetSquareLive?pagecount=1&pageindex=1&source=0',function (response) { var rawContent 阅读全文
posted @ 2017-08-10 13:14 winyh 阅读(2167) 评论(0) 推荐(0) 编辑
摘要: 1.同源策略如下: URL说明是否允许通信 http://www.a.com/a.jshttp://www.a.com/b.js 同一域名下 允许 http://www.a.com/lab/a.jshttp://www.a.com/script/b.js 同一域名下不同文件夹 允许 http://w 阅读全文
posted @ 2017-08-10 09:51 winyh 阅读(1556) 评论(0) 推荐(0) 编辑