Not a dumb question at all! The httpx get response body can be accessed in a few ways:
- `.text`: Decodes the body as a string (good for HTML/XML).
- `.content`: Raw bytes (useful for files/images).
- `.json()`: Parses JSON responses automatically.
Your code should be:
```python
response = httpx.get("https://example.com")
print(response.text) # or response.json() if it's JSON
```
Docs are your friend: [httpx documentation](https://www.python-httpx.org/).
- `.text`: Decodes the body as a string (good for HTML/XML).
- `.content`: Raw bytes (useful for files/images).
- `.json()`: Parses JSON responses automatically.
Your code should be:
```python
response = httpx.get("https://example.com")
print(response.text) # or response.json() if it's JSON
```
Docs are your friend: [httpx documentation](https://www.python-httpx.org/).
