Jquery unable to get the response from WCF REST service
问题 I have developed WCF rest service and deployed it on a link that can be accessed via the browser because its action is "GET". I want to get that data using jQuery. I tried my best to get WCf get response using jQuery but in vain. I also tried $.Ajax with 'jsonp' with no luck. Can any one help me? The url is: http://www.lonestarus.com/AndroidApp/AndroidLocation.svc/RestService/getLatestLocation You can check that url response by pasting url in browser. 回答1: You need to set Access-Control-Allow