This has already been baked into the JavaScript API. You can use an esri namespace method called "esri.request(...)"The full API reference documentation for the method is at : http://http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm#request esri.request({ url:"http://..../rest/services/USA/MapServer", content: { param1: "value1", param2: "value2", param3: "value3" }, callbackParamName:"callback", load:function(response, io) { ... }, error:esriConfig.defaults.io.errorHandler });
esri.request({ url:"http://..../rest/services/USA/MapServer", content: { param1: "value1", param2: "value2", param3: "value3" }, callbackParamName:"callback", load:function(response, io) { ... }, error:esriConfig.defaults.io.errorHandler });
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.