1 Star 0 Fork 0

杨俊杰/shelter-project

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
test.http 866 Bytes
一键复制 编辑 原始数据 按行查看 历史
junjie.yang 提交于 2024-01-15 20:37 +08:00 . opentelemetry
@host=http://127.0.0.1:8080/v1
#####
# login
#####
POST {{host}}/login HTTP/1.1
Content-Type: application/json
{"username":"admin", "password": "Pa$$wd123"}
#####
# create dog
#####
POST {{host}}/dogs HTTP/1.1
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlhdCI6MTcwNTMwMTIyOCwiZXhwIjoxNzA1NTE3MjI4fQ.lgOVegDN680Ax5Eaurh2DM2jvSFQezaQdtYlAUnrmIA
{"name":"Fido","description": "...", "date_of_birth": "2022-01-01", "chip_number": "1234", "gender": "male", "is_sterilized": true, "breed": "mixed", "size": "medium", "weight": 25, "hair": "brown"}
#####
# get dogs
#####
GET {{host}}/dogs HTTP/1.1
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlhdCI6MTcwNTMwMTIyOCwiZXhwIjoxNzA1NTE3MjI4fQ.lgOVegDN680Ax5Eaurh2DM2jvSFQezaQdtYlAUnrmIA
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/langlearn/shelter-project.git
git@gitee.com:langlearn/shelter-project.git
langlearn
shelter-project
shelter-project
master

搜索帮助