Hi, I am trying to generate a token via a java web app. It works on some servers, but on others I get a response that I don't expect (happens via the app and when posting directly in a browser:
Request looks like this:
http://localhost:6080/arcgis/admin/generateToken?username=myuser&password=mypwd&f=json&client=requestip
or this:
https://localhost:6443/arcgis/admin/generateToken?username=myuser&password=mypwd&f=json&client=requestip
Response looks like this:
{"ssl":{"supportsSSL":true,"sslPort":6443}}
as opposed to what I expect:
{"token":"U4rudliz0r6yQG2esK1Mcha8utQ-6XQVJG5iTHH8we2HHx1JR6MA52g3FYXuMVCX","expires":"1538503485453"}