Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 309 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 309 Bytes

httpbin

A model-based, modern python client implementation for httpbin.org as an example

Usage

import httpbin


config = httpbin.Config(base_url="https://httpbin.org")
client = httpbin.Client(config)

try:
    get_response = client.get()
except httpbin.ClientError as e:
    print(e)

...