安利一个在线数据模拟的网站, https://www.apilab.cn

2020-11-28 13:44:34 +08:00
 Vanillafu

可以在线模拟数据,前端直接请求即可,支持 mock 语法。 网址: https://www.apilab.cn

2145 次点击
所在节点    程序员
6 条回复
csx163
2020-11-28 14:11:33 +08:00
可以模拟非标 json 么
Vanillafu
2020-11-28 14:18:02 +08:00
@csx163 目前只支持 json 数据,除了 json 之外,平常您都会用哪些数据格式?
laminux29
2020-11-28 22:09:39 +08:00
国外有些很多名气很大,且提供很复杂功能的工具网站,在使用之前,是不需要注册的。

国内,比如站长之家的在线工具,也是不需要注册就能使用的。

题主发的这网站,有自信,是好事。
csx163
2020-12-01 09:14:29 +08:00
@Vanillafu
{"loginId":"xxxxxxxxxxxxxx","groupId":"xxxxxxxxxxxxxxxxxxxx","subTopics":"[{\"topicId\":\"aaaaaaaaaaaaaaaa\",\"subRight\":\"1\",\"subResult\":[{\"choose\":\"0\",\"index\":\"1\"},{\"choose\":\"1\",\"index\":\"2\"},{\"choose\":\"0\",\"index\":\"3\"},{\"choose\":\"1\",\"index\":\"4\"}]},{\"topicId\":\"bbbbbbbbbbbbbbbb\",\"subRight\":\"1\",\"subResult\":[{\"choose\":\"1\",\"index\":\"1\"},{\"choose\":\"1\",\"index\":\"2\"},{\"choose\":\"1\",\"index\":\"3\"},{\"choose\":\"1\",\"index\":\"4\"}]},{\"topicId\":\"cccccccccccccccccccc\",\"subRight\":\"1\",\"subResult\":[{\"choose\":\"0\",\"index\":\"1\"},{\"choose\":\"1\",\"index\":\"2\"},{\"choose\":\"1\",\"index\":\"3\"},{\"choose\":\"1\",\"index\":\"4\"}]}]"}
Vanillafu
2020-12-02 20:11:03 +08:00
@csx163
这是根据上面 json 创建的接口,是需要这样的吗?
https://test.apilab.cn/v1/5f9a54fa60b2789e722c6082/getJson
csx163
2020-12-06 21:15:44 +08:00
@Vanillafu 不是的,需要有反斜杠

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/730088

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX