respx — Easy Playground
Mock httpx requests in tests
Getting started with respxRun locally
Install
pip install respxPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: respx)
respx is a third-party package. Mock httpx requests in tests. Install with: pip install respx
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?