ENDPOINTS

HIGHLIGHTED

EXAMPLES

$ curl https://httpbin.io/ip

{"origin":"73.238.9.52, 77.83.142.42"}

$ curl https://httpbin.io/user-agent

{"user-agent":"curl/7.64.1"}

$ curl https://httpbin.io/get?foo=bar


{
    "args": {
        "foo": [
          "bar"
        ]
    },
    "headers": {
        "Accept": [
          "*/*"
        ],
        "Host": [
          "httpbin.io"
        ],
        "User-Agent": [
          "curl/7.64.1"
        ]
    },
    "origin": "73.238.9.52, 77.83.142.42",
    "url": "https://httpbin.io/get?foo=bar"
}
        

$ curl https://httpbin.io/dump/request?foo=bar


GET /dump/request?foo=bar HTTP/1.1
Host: httpbin.io
Accept: */*
User-Agent: curl/7.64.1
        

$ curl -I https://httpbin.io/status/418


HTTP/1.1 418 I'm a teapot
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
X-More-Info: http://tools.ietf.org/html/rfc2324
Date: Tue, 13 Jul 2021 13:12:37 GMT
Content-Length: 0
        

Maintained by ZenRows