I couldn't figure it out. This (sanitized)
curl command will get the json of the users, but I can't convert it to a working API call from Python.
-H 'accept-language: en-US,en;q=0.8' -H 'upgrade-insecure-requests: 1' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36' \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' \
-H 'authority: example.com' -H 'cookie: _t=b7fe75f320f5f4f2a1f3b5e6b2166b0e;' --compressed
My guess is that the
_t cookie contains some magic. If having it work from the command line will help you, you can right-click
active.json in the developer's view and
copy as cURL. My version above strips out a few variables that seem not to be required for
curl to work.
I just get a 404 when I try to do it from Python, though.