Decoy lets developers create mock services locally: Send it API requests, webhook requests, test your code against failures. All in a beautiful native app.
That's the whole interface.
Define method + path pairs, group them into projects. Point any service at decoy.my:8998 and go.
Every incoming request shows up as it arrives. Headers, body, source IP, timestamps. JSON is auto-formatted.
Pick a status code, choose a body type, set headers, add a delay if you want. Changes take effect on the next request.
Headers, body, source IP, timestamp, UUID. JSON is pretty-printed. Binary data gets a hex dump.
CORS headers are added automatically. Browser-based requests just work.
301, 302, 307, 308. Location header is set automatically.
Serve images, PDFs, or any file directly. Set the body type to File and pick one.
Requests are written to SQLite immediately. Nothing lost if the app quits unexpectedly.
Built with SwiftUI. Launches instantly. Uses barely any memory.
Edit the JSON, tweak a header, change the status code. The next request gets the new response.
Set the body type to HTML, paste your markup, open decoy.my:8998 in a browser. That's it.
Free on the Mac App Store.
Requires macOS 14 Sonoma or later