I want to send a server simple GET request but as I see the .ajax sends x-requested-with header which my server doesn't understand.
$.ajax({ type: 'GET', url: 'coord-' + x + '-' + y + '-' + iname, success: function(data) { $('img').each(function(idx, item) { var img_attr = $(this).attr("src") var name = img_attr.match(/\d+-\d+\.\w+/) name = name + '?r=' + Math.random() $(this).removeAttr("src") $(this).attr("src",name) }) }, }) in headers ---> X-Requested-With: XMLHttpRequest
Is it possible to send a simple request without using x-request-with?