Show HN:Mocktail——带内置仪表盘的免费开源 Mock API 服务器
英文标题:🔶 Show HN: Mocktail – Free, open-source mock API server with a built-in dashboard
Mocktail 是一款免费、开源的 Mock API 服务器,并提供内置仪表盘。原帖以订单数据为示例,展示了可用于模拟 API 响应的 JSON 数据结构。对于开发者而言,这类工具可在后端接口尚未就绪时辅助前端开发、测试和原型验证。原帖在 Hacker News 上获得 9 票,暂无评论。
打开原文相关 4 · 机会 4
82.6 KB
中文
✳ 一个包含明细项和总额的订单
草稿 →
{
"id": "ord_8a2f",
"items": 3,
"total": "$84.20"
}
English / 原文
✳ an order with line items and a total
drafts →
{
"id": "ord_8a2f",
"items": 3,
"total": "$84.20"
}