站点引用文件不允许跨域。浏览器安全问题。用动态程序做代理服务。
using (WebClient wc = new WebClient())
{
using (Stream s = wc.OpenRead("http://www.meituan.com/api/v1/divisions"))
{
using (StreamReader sr = new StreamReader(s))
{
string str = sr.ReadToEnd();
Response.Write(str);
}
}
}