httpxEasy Playground

Modern HTTP client with async support, HTTP/2, requests-like API

Getting started with httpxRun locally
Install
pip install httpx
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: httpx)

httpx is a third-party package. Modern HTTP client with async support, HTTP/2, requests-like API. Install with: pip install httpx

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?