Skip to content

Instantly share code, notes, and snippets.

@tomchristie
Created August 20, 2020 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomchristie/dba1564603d27cbe4ab3b9255bcb28da to your computer and use it in GitHub Desktop.
Save tomchristie/dba1564603d27cbe4ab3b9255bcb28da to your computer and use it in GitHub Desktop.
import httpx
import asyncio
async def main():
async with httpx.AsyncClient() as client:
r = await client.get("https://login.microsoftonline.com/")
print(r)
asyncio.run(main(), debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment