I am trying to get some data from a web service:
$.ajax({
type: 'POST',
contentType: 'application/json;',
url: 'http://***.asmx/GetJSONString',
data: "Select * from con",
crossDomain:true,
dataType: 'json',
success: function(response) {
alert(response);
},
error: function(XMLHttpRequest, textStatus, error) {
alert("Error");
}
});
where/how i have to write sql? in data?