ajax调用WebService 不能跨域

http://www.cnblogs.com/dojo-lzz/p/4265637.html

 

 "Access-Control-Allow-Origin":'http://localhost',
                'Access-Control-Allow-Methods': 'GET,POST,OPTIONS',
                'Access-Control-Allow-Headers': 'X-Requested-With, Content-Type'/**/

posted @ 2016-05-10 09:40  mebius  阅读(171)  评论(0编辑  收藏  举报