A mock server that speaks HAR and supports JSON, YAML, XML, HTML

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Developers can inspect incoming webhook and API requests against a ready-made mock server instead of building throwaway backends, with captured data in portable HAR format.

Read this as

Insomnia Mockbin is a free tool from the company Kong that pretends to be a web server so developers can see exactly what other software sends to them. Unlike similar tools, it stores traffic in HAR, a standard file format many existing tools can read. It also correctly identifies visitors when hidden behind intermediary servers, where many rivals fail. It matters to anyone testing software that talks to APIs.

Kong, the company behind the Kong API Gateway and Insomnia API client, maintains Mockbin as a low-cost way to stand up fake endpoints for testing and webhook debugging. It is source-visible but not open-source, so licensing needs checking before adoption. Supply chain verification is covered via signed container images and SBOMs. Teams already using Kong or Insomnia gain the most; no pricing is stated.

Insomnia Mockbin is a Node.js mock server backed by Redis, which is optional only if you skip response bins. It persists request/response data in HAR format, honours X-Forwarded-* headers for client IP resolution behind reverse proxies, and supports method override via X-HTTP-Method-Override or a _method query parameter. Output formats include JSON, YAML, XML and HTML; cosign-signed images and SBOMs support verification. Run via docker compose or npm run dev with DEBUG=mockbin.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Insomnia Mockbin Kong Insomnia Redis Node.js HAR cosign

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.