AnsweredAssumed Answered

Generating token for ArcGIS Online hosted service

Question asked by ochiengsteve on Feb 26, 2018
Latest reply on Oct 31, 2018 by Joerodney

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