Public APIs
Httpbin favicon

Httpbin

Development

A Simple HTTP Request & Response Service.

Httpbin's website screenshot

About Httpbin

Httpbin is an HTTP request and response testing service. It exposes endpoints for testing different HTTP methods, authentication schemes, and status codes, as well as endpoints for inspecting request and response data such as headers and caching behavior.

It also provides utilities for returning responses in different data formats, generating dynamic and random data, creating/reading/deleting cookies, returning images in different formats, handling redirects, and echoing back arbitrary request data. It includes a sample HTML form that posts to one of its endpoints, and can be run locally via a Docker image.

Key features

  • Testing different HTTP verbs (GET, POST, etc.)
  • Simulating auth methods
  • Generating responses with given status codes
  • Inspecting request and response data including headers
  • Returning responses in different data formats
  • Generating dynamic and random data, cookies, and images

Frequently asked questions

What is httpbin used for?

It is a simple HTTP request and response testing service for inspecting requests, responses, headers, and other HTTP behaviors.

Can I run it locally?

Yes, it can be run locally via Docker using kennethreitz/httpbin.

Does it support different HTTP methods and status codes?

Yes, it supports testing different HTTP verbs and generating responses with given status codes.

Who is httpbin for?

It is for developers who need to test and inspect HTTP requests and responses, such as verbs, auth, redirects, and data formats.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product