mockdock.dev

$ curl https://mockdock.dev --free --no-signup --no-server

Mock any API. Simulate any webhook. The data is in the URL.

Every mock you build is compressed, base64-encoded, and packed into the URL hash. Your browser decodes and serves it instantly — no database, no account, no payload ever touches a server. Share the link; share the mock.

https://mockdock.dev/api/v1#data=eNqrVspMUbJSKkotLs0pKVayUsrJT08

ls ./tools — 14 entries

01

Stripe Webhook Event Mocker

Fake invoice.paid & charge.refunded events for local webhook handlers.

/mock/stripe-webhook-events

02

REST API Endpoint Generator

Instant fake REST endpoints — user lists, product entities, 201 creates.

/mock/crud-api-endpoint

03

GraphQL Response Mocker

Structured data graphs and spec-shaped GraphQL error arrays.

/mock/graphql-query-response

04

HTTP Status Code Simulator

Trigger 404, 500 & 429 responses with realistic error envelopes.

/mock/http-status-404-500

05

JWT Payload Simulator

Bearer tokens with admin role claims, scopes & expiry scenarios.

/mock/jwt-token-claims

06

OAuth / OIDC Token Mocker

Token-exchange successes and invalid_grant failures, RFC-shaped.

/mock/oauth-token-response

07

Shopify Webhook Simulator

orders/create & refunds/create payloads with topic headers.

/mock/shopify-order-creation

08

GitHub Webhook Matrix

pull_request opened & merged events for CI pipeline testing.

/mock/github-pull-request-event

09

Paginated Data Seeder

page/per_page/total shells and cursor-based paging envelopes.

/mock/paginated-api-response

10

Latency Simulator

3s and 8s artificial delays for skeleton screens & timeouts.

/mock/delayed-api-response

11

Malformed Payload Tester

Deliberately broken JSON to harden your parsers & fallbacks.

/mock/invalid-json-api

12

CORS Headers Inspector

Preflight OPTIONS responses — permissive, credentialed & broken.

/mock/cors-preflight-options

13

Schema-to-Mock Simulator

Paste JSON or cURL — get randomized mock data in the same shape.

/tools/schema-to-mock

14

Webhook Header Emulator

Compute Stripe, GitHub & HMAC-SHA256 signature headers locally.

/tools/webhook-emulator

cat ./how-it-works.md

1. Compose

Pick an industry-standard template — a Stripe invoice.paid event, a GitHub pull_request payload, a 429 rate-limit error — then edit the JSON live with instant validation.

2. Compress

Your payload plus its simulated status code, latency, and headers are deflated and base64url-encoded into a single URL fragment. Fragments never leave the browser, so mocks are private by physics, not by policy.

3. Serve

Opening the link hits /api/v1, where the client interceptor decodes the hash, waits out any simulated latency, and renders the response — status line, headers, and syntax-highlighted body.