1 Star 1 Fork 8

APIJSON/apijson-go

forked from 天高/apijson-go 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test.http 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
tg.shi 提交于 2022-03-24 23:02 . feat: 0.1 beta ok
POST 127.0.0.1:8080/get
Content-Type: application/json
{
"Document": {
"id": 1
}
}
###
POST 127.0.0.1:8080/get
Content-Type: application/json
{
"document": {
"name": "TommyLemon"
}
}
###
POST 127.0.0.1:8080/get
Content-Type: application/json
{
"User[]": {
"User": {
"id{}":[38710,82001,70793]
}
}
}
###
POST 127.0.0.1:8080/get
Content-Type: application/json
{
"User[]": {
"User": {
"id{}": "<38711"
}
}
}
###
POST 127.0.0.1:8080/get
Content-Type: application/json
{
"User[]": {
"User": {
"id{}": ">70793,"
}
}
}
### 添加一条记录
POST 127.0.0.1:8080/post
Content-Type: application/json
{
"Comment":{
"id": 116136422088499,
"userId": 82012,
"momentId":12,
"content":"APIJSON,let interfaces and documents go to hell !"
},
"tag":"Comment"
}
### 更新一条记录
POST 127.0.0.1:8080/put
Content-Type: application/json
{
"Comment":{
"id": 301,
"content":"put is ok",
"toId": 97
},
"tag":"Comment"
}
### 删除一条记录
POST 127.0.0.1:8080/delete
Content-Type: application/json
{
"Comment":{
"id": 209
}
}
### 删除多条记录
POST 127.0.0.1:8080/delete
Content-Type: application/json
{
"Comment":{
"id{}": [300, 301, 4001]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/APIJSON/apijson-go.git
git@gitee.com:APIJSON/apijson-go.git
APIJSON
apijson-go
apijson-go
master

搜索帮助