layergroup GET needs a config parameter

المشرف العام

Administrator
طاقم الإدارة
I was trying to make my request workable in IE8. I converted the dataType: "json" to "jsonp" to get the success callback working in IE8, but its throwing error: "layergroup GET needs a config parameter".

var url = 'http://somecomp.cartodb.com:80/api/v1/map?map_key=xxxxxxxxxxxxxxxxxxxx&stat_tag=API'; var data = //some long data of length greater than 3000 $.ajax({ crossOrigin: !0, type: "POST", method: "POST", dataType: "json", contentType: "application/json", url: url, data: JSON.stringify(data), success: function(a) { // error: layergroup GET needs a config parameter console.log('success'); }, error: function(a) { console.log('error'); } })

أكثر...
 
أعلى