Provides a simple, modern, example API for demoing or debugging various features, including:
- HTTP, HTTPS (TLS), and HTTP/2
- OpenAPI 3 & JSON Schema
- Client-driven content negotiation
gzip&brcontent encoding for large responsesJSON,YAML, &CBORformats
- Conditional requests via
ETagorLastModified - Echo back request info to help debugging
- Cached responses to test proxy & client-side caching
- Example structured data
- Shows off
object,array,string,date,binary,integer,number,boolean, etc.
- Shows off
- A sample CRUD API for books & reviews with simulated server-side updates
- Image responses
JPEG,WEBP,GIF,PNG&HEIC - RFC7807 structured errors
This project is open source: https://github.com/danielgtaylor/apibin
You can run it localy via Docker:
# Start the server
$ docker run -p 8888:8888 ghcr.io/danielgtaylor/apibin:latest
# Make a request
$ restish :8888/types