后端 API 测试步骤:
-
安装 insomnia
-
在 insomnia 主页右上角,点 Create,之后 Import From -> File,选择本项目所在路径,PaddleLabel-Web.json 和 PaddleLabel-ML.json 都会被导入
-
进入测试项目,在最上面选择 debug,Ctrl+Enter 发送 API 请求
注:这两个 json 里的 openapi spec 不保证是最新的,以 PaddleLabel 和 PaddleLabel-ML 里的 openapi.yaml 为准