Fork me on GitHub

httpize(1): HTTP Request & Response Service

ENDPOINTS

DESCRIPTION

Testing an HTTP Library can become difficult sometimes. Postbin is fantastic for testing POST requests, but not much else. This exists to cover all kinds of HTTP scenarios. Additional endpoints are being considered.

All endpoint responses are JSON-encoded.

NOTE: Inspired from httpbin.org

EXAMPLES

$ curl http://httpize.herokuapp.com/ip

{
    "remote": "10.34.186.222",
    "x-forwarded-for": "Some(X-Forwarded-For: 37.81.65.193, 37.81.65.193)"
}

$ curl http://httpize.herokuapp.com/user-agent

{

    "user-agent": "Some(User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0)"

}