暂存与导出

暂存

快捷键Ctrl/Cmd + S

选中一条记录后按 Ctrl/Cmd+S,该记录会出现在右侧"暂存记录"区域。

特点

  • 不受"清空"操作影响
  • 持久化保存到本地
  • 适合保存重要请求供后续分析

导出

Web 模式

  • 点击右上角应用标题 → 导出 → 当前记录 / 所有记录
  • 浏览器下载 JSON 文件

Tauri 模式

  • macOS:系统菜单栏 → 操作 → 导出
  • Windows/Linux:标题栏左侧应用图标 → 导出
  • 弹出原生保存对话框

导出数据格式

[
  {
    "id": "1234567890-abc123",
    "api": "/api/user/info",
    "method": "POST",
    "requestHeader": "User-Agent: MyApp/1.0\r\n...",
    "responseHeader": "Content-Type: application/json\r\n...",
    "request": "{\"userId\": 123}",
    "response": "{\"code\": 0, \"data\": {...}}",
    "timeConsuming": 120,
    "timestamp": 1698764800000
  }
]