Skip to content
masterclass Buddy

HTTPX · Method

client.get

httpx.AsyncClient sends HTTP requests with Python's async/await syntax. Await its request methods and manage the client with async with or aclose().

Last updated

Syntax

async with httpx.AsyncClient() as client:
    response = await client.get(url)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • AsyncClient.options
  • AsyncClient.head
  • AsyncClient.post
  • AsyncClient.put
  • AsyncClient.patch
  • AsyncClient.delete
  • AsyncClient.request
  • AsyncClient.send

Source: Async Support - HTTPX. Checked 2026-11-03.