When Posting:
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "/CmisWebRequests.asmx/GetMessageResponse",
data: dataToSend,
dataType: "json",
async: true,
error: function(ex) {
alert("EXCEPTION: " + JSON.stringify(ex));
},
success: function(resp) {
var messageResponse = resp.d;
$("#response").text(JSON.stringify(resp));
$("#success").text(messageResponse.Success);
$("#responseText").text(messageResponse.Response);
},
complete: function() {
}
})
I can not deny
Response to preflight request does not pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource
How to cede this permission to a particular requester?