解决“No 'Access-Control-Allow-Origin' header is present on the requested resource.”
$("#btnGet").bind("click", function () {
$.ajax({
url: "http://localhost:51571/api/Account/1",
type: "GET",
dataType:"jsonp",
原创
2015-04-14 13:33:54 ·
8203 阅读 ·
1 评论