Quick answer: `.body` isn’t a thing in httpx. Use `.text` for text, `.content` for bytes, or `.json()` for JSON.
Longer answer: The httpx get response body is handled differently than older libs. Check the docs for advanced stuff like streaming responses.
Here’s a cheat sheet:
```python
text = response.text
bytes = response.content
json_data = response.json()
```
Longer answer: The httpx get response body is handled differently than older libs. Check the docs for advanced stuff like streaming responses.
Here’s a cheat sheet:
```python
text = response.text
bytes = response.content
json_data = response.json()
```
