API Reference

Gabriel Falcão HTTPBin Client

Gabriel Falcão’s python client to httpbin.org, open sourced under the MIT license

class gabrielfalcao_httpbin.HttpBinClient(base_url='https://httpbin.org')[source]

Python client for the HTTPBin API.

Powered by requests.Session.


Builds a full url to be used internally in this client.

Parameters:path – a string with the path.
Returns:a string


any trailing slashes at the left side of the path argument will be stripped.


Calls the /post endpoint


This function is here for demo purposes.

Parameters:data – data to be passed to requests.Session.post()
Returns:a dict with deserialized the JSON response