Posted on: 6/19/2013 7:15:12 PM | Views : 957

I keep getting 400 Bad Request when i try to call the WCF service using jQuery. I get same error when i test the service using RESTClient. However, the service works fine with basicHttpBinding.
client call:
function PerfGroup() { var wsUrl = "fpiwebservice.svc/GetRRPerfGroups"; $.ajax({ type: "POST", url: wsUrl, data: null, contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { if (response != null && response.d != null) { if (typeof (response.d) == "string") { adv = $.parseJSON(response.d); } alert("ok"); } }, error: function ( ...

Go to the complete details ...