阅读背景:

JSONP ASP。净Web API

来源:互联网 

I am working on creating a new set of services in ASP.MVC MVC 4 using the Web API. So far, it's great. I have created the service and gotten it to work, and now I am trying to consume it using JQuery. I can get back the JSON string using Fiddler, and it seems to be ok, but because the service exists on a separate site, trying to call it with JQuery errors with the "Not Allowed". So, this is clearly a case where I need to use JSONP.I am working on creating a new set of services




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: