Hi
How to define token for services like feature service and map service?
In Javascript the recommended approach is to use the esri resorces proxy and NOT generate your own token.
Anjelina,
Sure there are dozen of threads about this.
Here is a link to the blog links that those threads would direct you to:
https://community.esri.com/groups/technical-support/blog/2015/04/07/setting-up-a-proxy
And here is the proxy github page:
GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.
Is there any clear help for set proxy and define it on js aplication?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.