0
When Sending the Post:
$.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() {
}
})
Fearful of denial
Response to preflight request doesn’t pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested Resource
How to give this permission to a particular requisitor ?
Permission must be performed in the back-end.. which language is using on the server?
– BrTkCa
The language used on the server is C#
– João K. Queiroz