什么是正确的函数调用下面的WCF REST服务jQuery函数来调用WCF REST服务
http://xx.x.x.xxx/GAdmin/WGService/Service1.svc/RetrieveData?term=apple
以下参数添加
term=apple
username:joe password:pote
并且是JSON它应该是有一个回调函数为jsonp
$.getJSON('http://xx.x.x.xxx/GAdmin/WGService/Service1.svc/RetrieveData?term=apple
callback=?'{
content: { username: "joe", password: "pote" },
function (data)
{
alert('Received ' + data + ' results');
};