AnsweredAssumed Answered

Generating token for ArcGIS Online hosted service

Question asked by ochiengsteve on Feb 26, 2018
Latest reply on Dec 5, 2019 by 4oportunidadlocal

Hi guys,


I'd like to generate token for arcgisonline hosted service but I can figure out the endpoint and how to construct the request.

Is it or or ...../arcgis/tokens?request=getToken&username=<usr>&password=<usr>&expiration=<token_lifespan


What is the endpoint and how would I construct the parameters. I'm using Java HttpUrlConnection? arcgisrest