I am new to Web Sevice, I am getting the following error when I tried to run my page (Local) in Chrome Console
ERROR
make your content type as "application/json; charset=utf-8", as follows
$(document).ready(function() {
$.ajax({
type: "POST",
url: "RSSReader.asmx/GetRSSReader",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg) {
// Hide the fake progress indicator graphic.
$('#RSSContent').removeClass('loading');
// Insert the returned HTML into the .
$('#RSSContent').html(msg.d);
}
});
});
also refer link