eraser01

How to make HTTP request to get layer structure in json from secured FeatureLayer ?

Discussion created by eraser01 on Feb 26, 2013
Sorry for my english

I have to develop android application to request for FeatureLayer structure in json format like this

http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0?f=pjson

anyway in secured FeatureLayer I need token to access any information but I only have user and password

how can I get token from my secured FeatureLayer or request information with user and password ?


In ArcGIS API for iOS using dataForURL method from AGSRequest by sending url, user and password

http://resources.arcgis.com/en/help/runtime-ios-sdk/apiref/interface_a_g_s_request.html#ae7a1eb75d6c3df61b07dd90c2da34883

have ArcGIS API for Android have equivalent method for dataForURL ?

Outcomes