The development of Requests, the Python HTTP Module for Humans, led to some annoying testing practices. Relying on random websites and services in order to test different capabilities of the HTTP client became annoying quickly.
PostBin.org was perfect for testing POST request behavior, but is usless for other situations. I was hoping to extend its functionality to other request types, but it turns out that PostBin runs on the Google App Engine platform. No.

Moving Forward

HttpBin will be packaged and released on PyPi soon, for local development use and requests-tests runs on ci.kennethreitz.com. I need to determine a portable pattern for this.

In the coming weeks, I'd like to add a few new new endpoints: /deflate, /basic-auth,&c. Contributions are welcome.

I'm considering adding optional request logging / history to the service, powered by Redis. A new /post request, for example, would be redirected to a new URL (e.g./post/c1548ed) that can be POSTed to repetitively. This will give HttpBin feature parity with postbin.

Source Code

HttpBin is open source (ISC Licensed), powered by Flask, Werkzeug, and good intentions.