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.
SubscribeRelated
AsyncClient.optionsAsyncClient.headAsyncClient.postAsyncClient.putAsyncClient.patchAsyncClient.deleteAsyncClient.requestAsyncClient.send