params = urllib.urlencode({'f':'json', 'token':_token.get('token'), 'username' : uname, 'password': upwd}) headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain"} conn = httplib.HTTPConnection(i.get('s')) conn.request("POST", "/arcgis/admin/security/users/add", params, headers) response = conn.getresponse() s = response.read() data = json.loads(s) _responses.append({"server":i.get('s'),"result":data})
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.