List Users through REST API:
-
with
curl:curl -i http://nohost/plone/@users -H 'Accept: application/json' --user admin:secretis OK: the list of the users is printed,
-
with
Python requests:requests.get('http://nohost/plone/@users', headers={ 'Accept': 'application/json', }, auth=('admin', 'secret'))is not OK: the only thing printed is:
<Response [200]>