The fastest way to
mock an API._
You need the API to return something specific. The backend isn't yours to change. Open JediMock, configure the mock, paste one script in DevTools. The next request is intercepted. Nothing else required.
No service worker registered in your app. No proxy running on localhost. No HTTPS certificate to install. No Mockoon server to keep running. Just a script you paste once.
It intercepts both fetch and XMLHttpRequest.
You can modify the response, the request body, or both — merge your changes
on top of the real data or replace it entirely. Wildcards work:
/api/users/* catches every user endpoint in one script.
Refresh the page and the mock is gone. The real API comes back. No cleanup, no config to undo.
Five tools in one file. Mock generator, JSON editor with bulk operations, validator with accurate line-level errors, diff, beautifier. Session persists across page reloads. Import and export configs. Share a mock via URL. No account needed.