istek olabilir, bir GET
talebi olduğu zamanjQuery Ajax GET ve contentType? (JQuery ajax yöntemi): İlgili
contentType
özelliği sayılır mu? (örnek)
$.ajax({
type: "GET",
url: "/webservices/xxx.asmx/yyy",
data: JSON.stringify({ Markers: markers }),
contentType: "application/json; charset=utf-8",
dataType: "json",.......
});
P.S.
contentType i sunucudan almak için BEKLEDİĞİNİZ verilerin şeklidir sunucu
dataType göndermek verilerin şeklidir.
[http istekleri için bir içerik türüne ihtiyacım var mı?] Olası bir kopyası (http://stackoverflow.com/questions/5661596/do-i-need-a-content-type-for-http-get- istekleri) – adeneo
@adeneo mükemmel şekilde çoğaltılır. Teşekkürler. Bunu görmedim. (Ancak silme oylayacak) –