You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
2.0 KiB

@type = content-type: application/json;charset=utf-8
@token = eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDI0NjkxMjcsInN1YiI6IjE0ODE4MzE1NDk5NDczNTEwNDAiLCJhdXRoSWQiOiIwIiwiZXhwIjoxNjQyNDc2MzI3fQ.FCKtxDM9N3bY7BOR7wCWK_vFmkstliYL5DpCwBx3gT4
### login
# @name login
POST http://localhost:7290/users/signin
# POST http://101.201.226.163/gateway/ptostall/users/signin
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId: 66666
{
"client": 0,
"type": 1,
"data": {
"identifier": "15335153627",
"credential": "1111"
}
}
###
POST http://localhost:7300/heart/tall
{{type}}
Authorization: Bearer {{token}}
deviceId: 66666
###
POST http://localhost:7300/business/save
{{type}}
Authorization: Bearer {{token}}
deviceId: 66666
{
"param":{
"pluginId": ,
"businessId":0
}
}
###
POST http://localhost:7300/business/save
{{type}}
deviceId: 66666
{
"param":{
"name": "1",
"description":0,
"url":1,
"startUsing":5,
"pub":0,
"debug":1
}
}
###
POST http://localhost:7300/business/query
{{type}}
deviceId: 66666
{
"param":{
"name": "",
"depth":0,
"pageNum":1,
"pageSize":5
}
}
###
POST http://localhost:7300/plugin/save
{{type}}
Authorization: Bearer {{token}}
deviceId: 66666
{
"param":{
"name": "3",
"versions": "v1.0",
"intro":"333",
"description":"",
"preview":"",
"carousel":[
"1",
"2",
"3",
"4"
],
"html":"aaa",
"css":"bbb",
"js":"ccc",
"config":"ddd",
"publish":1
}
}
###
POST http://localhost:7300/plugin/query
{{type}}
Authorization: Bearer {{token}}
deviceId: 66666
{
"param":{
"name": "",
"depth":1,
"pageNum":2,
"pageSize":5
}
}