Send your URLs to the proxy.ashx and the authentication will be handled for you.
<serverUrl url="http://sampleserver2.arcgisonline.com/arcgis/rest/services/" matchAll="true" token="jijdfihjd023r33yr837r37"></serverUrl>
esri.config.defaults.io.proxyUrl = "your_location_to_proxy_page/proxy.ashx"; esri.config.defaults.io.alwaysUseProxy = "true";
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.