lol yeah `.body` doesn’t exist in httpx, my dude. You want `.text` for strings or `.content` for bytes.
If the site returns JSON, just do `response.json()` and it’ll parse it for you.
Also, pro tip: always check `response.status_code` first to make sure the request even worked.
If the site returns JSON, just do `response.json()` and it’ll parse it for you.
Also, pro tip: always check `response.status_code` first to make sure the request even worked.
