API Mock Switchboard
概述
在侧边栏捕获 XHR/fetch 响应,并按接口切换可编辑的 mock 响应。
API Mock Switchboard helps frontend developers capture XHR/fetch responses from the current Chrome tab and switch between editable local mock variants. Open the side panel, click Start, trigger an API request, then create a mock response tab from the captured response. Each API can keep multiple response variants with editable status, headers, and JSON/text body. Switching tabs changes which mock response is active; switching back to Original lets the real response pass through. Highlights: - Capture XHR/fetch responses from the current tab - Keep the latest original response visible in a read-only tab - Create multiple editable mock response tabs per API - Edit status code, response headers, and response body - Compare mock JSON body changes against the original response - Use a JSON editor with minimap navigation - Import and export local mock rules - Store rules locally in Chrome Privacy and safety: API Mock Switchboard only attaches Chrome debugger after the user clicks Start. Captured responses and mock rules stay local in the browser. The extension does not upload request data, response bodies, headers, rules, or browsing data to any server. Limitations: - Designed for XHR/fetch API responses - Best suited for JSON and text-like responses - Large responses may be truncated and made read-only - Chrome DevTools cannot debug the same tab while this extension is attached
0 星(5 星制)无评分
详情
- 版本0.1.1
- 上次更新日期2026年5月11日
- 大小284KiB
- 语言6 种语言
- 开发者
邮箱
minxtth@gmail.com - 非交易者该开发者尚未将自己标识为交易者。欧盟地区消费者须知:消费者权利可能不适用于您与该开发者达成的合约。
隐私权
该开发者已声明,您的数据:
- 不会因未获批准的用途出售给第三方
- 不会为实现与产品核心功能无关的目的而使用或转移
- 不会为确定信用度或放贷目的而使用或转移