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 });
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.