How to Generate Token By URL Request From ArcGIS Portal

30030
10
11-21-2017 02:05 PM
BehrouzHosseini
Regular Contributor

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?

0 Kudos
10 Replies
CarlosCampillo
New Contributor

Hi, I have the same problem. Did you solve it?

0 Kudos