mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
Edit for clarity
This commit is contained in:
@@ -49,8 +49,9 @@ Authorization header.
|
|||||||
### Use requests
|
### Use requests
|
||||||
|
|
||||||
Using the popular Python [requests](http://docs.python-requests.org/en/master/)
|
Using the popular Python [requests](http://docs.python-requests.org/en/master/)
|
||||||
library, here's example code to get users of a JupyterHub deployment. An API
|
library, here's example code to make an API request for the users of a JupyterHub
|
||||||
is made, and the request sends an API token for authorization:
|
deployment. An API GET request is made, and the request sends an API token for
|
||||||
|
authorization. The response contains information about the users:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import requests
|
import requests
|
||||||
|
Reference in New Issue
Block a user