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.

68 lines
1.6 KiB

@type = content-type: application/json;charset=utf-8
@token = eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDI3Mjc3OTAsInN1YiI6IjE0ODE4MzE1NDk5NDczNTEwNDAiLCJhdXRoSWQiOiIwIiwiZXhwIjoxNjQyNzM0OTkwfQ.Mx9yv64lXIsg1PQVcMUZsBhxxcjGTkwkLy4u-nBAfHM
### 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": 3,
"data": {
"identifier": "song",
"credential": "123456"
}
}
###
POST http://localhost:7310/tall/task/permanent
{{type}}
Authorization: Bearer {{login.response.body.$.tokenObj.token}}
deviceId: 66666
{
"roleId":1484800785261924352
}
###
POST http://localhost:7320/tall/role/show
{{type}}
Authorization: Bearer {{login.response.body.$.tokenObj.token}}
deviceId: 66666
{
"projectId":1484800783814889472
}
### wbs
POST http://localhost:7320/tall/project/wbs
# POST http://test.tall.wiki/gateway/defaultwbs/salary/import?projectId=1433332016270811136
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="params"; filename="v1.0 WBS 20220120.xlsx";
Content-Type: xlsx
< C:\Users\dou\Desktop\v1.0 WBS 20220120.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
###
GET http://localhost:7310/debug
###
POST http://localhost:7310/tall/heart
{{type}}
Authorization: Bearer {{token}}
deviceId: 66666