AnsweredAssumed Answered

How to Generate Token By URL Request From ArcGIS Portal

Question asked by behClevest on Nov 21, 2017
Latest reply on Nov 29, 2017 by rastrauch

I am able to create token from Generate Token operation on ArcGIS Portal Directory using IP Address of this request's origin parameter like enter image description here

but when I try to achive the token from URL like

https://map.geoca.com/portal/sharing/rest/generateToken?username=mapAdmin&password=psw&referer=https://map.geoca.com&f=json

I am getting this error message

{"error":{"code":405,"messageCode":"GWM_0005","message":"Method not supported.","details":[]}}

can you please let me know how I can fix this to get the token?

Outcomes