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.

Ad
Webz.io News API favicon

Webz.io News API

Webz.io News APIs provide global news data for search, monitoring, analytics, and AI applications, with powerful filters and natural-language search.

Learn more
Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon
  • Webz.io News API favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product