Interesting, but I don't get how I /use/ a token. I have one, and now need to access a layer via HTTPS.
Adding &token=crazylongstringwithlotsofcharacters to the URL doesn't seem to cut it, but I haven't found in the documentation where else to put it.
For instance, I believe that once I have a token, I should be able to to into an anonymous/incognito browser window and enter the layer URL I would like to fetch and supply the token somewhere to fetch it.
Hello,I keep generating tokens here 'https://www.arcgis.com/sharing/generateToken?' without any problems. I then use the token to load Feature Services hosted from ArcGIS Online in my web app. The problem is that the tokens never seem to last the length I specify in the url, ie.expiration=1440.It doesn't seem to matter what I put down, 365 days, 6 months or 10 days the token works only once it seems. Am I not understanding how tokens work? I thought that by setting the expiration to 1440 the token would be good for 10 days?Thanks
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.