httpbin update

This commit is contained in:
Kenneth Reitz
2011-06-12 18:56:34 -04:00
parent cf50671a9c
commit f995d8e3b4
+21 -4
View File
@@ -3,17 +3,34 @@ httpbin(1): HTTP Client Testing Service
## SYNOPSIS
`/` This page.
`/user-agent` Returns user-agent string.
`/headers` Returns header dict.
`/get` Returns GET data.
`/post` Returns POST data.
`/put` Returns PUT data.
`/delete` Returns DELETE data.
## DESCRIPTION
## CONFIGURATION
Testing an HTTP Library can become difficult sometimes. PostBin is fantastic
for testing POST requests, but not much else. This will cover everything.
Plans at the moment are to return JSON for all responses. Request storage
/ aggregation may or may not exist. We'll see.
## EXAMPLES
## AUTHORS
$ curl http://httpbin.com/user-agent
## AUTHOR
A [Kenneth Reitz](http://kennethreitz.com/pages/open-projects.html)
Project.
## SEE ALSO
<http://python-requests.org>, <http://postbin.org>, <https://github.com/tml/postbin>