Skip to content

Commit

Permalink
add json() to readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
slingamn committed Feb 1, 2022
1 parent 7bbeebf commit 1382c90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ b''
'application/json'
>>> response.body
b'{"type":"sync","status-code":200,"status":"OK","result":{"established":[],"plugs":[],"slots":[]}}'
>>> response.json()
{'type': 'sync', 'status-code': 200, 'status': 'OK', 'result': {'established': [], 'plugs': [], 'slots': []}}
```

## Why?
Expand Down

0 comments on commit 1382c90

Please sign in to comment.