the following error:
is there something I need to do in my AJAX request?Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://mythbox:6544/Dvr/GetUpcomingList?count=3. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)
Code: Select all
$.ajax( {
url: "http://mythbox:6544/Dvr/GetUpcomingList",
data: {"count": 3},
dataType: 'json',
crossDomain: true,
success: function(response) {
//var response = transport.responseText.evalJSON() || "no response text";
console.log(response);
}
});