Flight Briefing & Specs
MockBase is a hosted mock API server that gives you a real, live HTTPS endpoint before your backend even exists — no signup required to try it. Point your frontend, mobile app, or test suite at a MockBase URL and it answers exactly how you configure it, not just with a static JSON blob.
Routes support conditional responses, matching on query params, headers, a dot-path into the JSON body, a GraphQL operation name, or an element inside a SOAP envelope, with priority ordering across rules. Response bodies can use dynamic templating via sandboxed Jinja2 to echo back the request, mint a UUID, or stamp a timestamp instead of returning the same canned reply every time, and stateful CRUD means a POST is actually there when you GET it afterward, backed by Redis with zero code required.
For testing failure paths, chaos injection fails a percentage of requests on purpose — a slow gateway timeout, a truncated body, an empty response, or a genuinely dropped connection — while rate limit simulation returns deterministic 429s after N requests in a window, so backoff logic can be tested without relying on luck. A live request inspector streams every call over WebSocket with method, path, headers, request/response bodies, latency, and client IP, and any of them can be copied as cURL, fetch, axios, or several other languages.
MockBase also supports OpenAPI import and export, so a spec can scaffold routes instantly or be regenerated from a mock with inferred schemas, and mock as code, where a personal API key drives a dependency-free CLI and an MCP server so an AI agent or CI pipeline can create and inspect mocks without touching the dashboard. It handles REST, GraphQL, and SOAP, returns JSON, raw XML, or binary files, and every save is versioned so a bad edit is always one click from undone.