5 changed files with 36 additions and 22 deletions
@ -0,0 +1,24 @@ |
|||||
|
@tall = https://www.tall.wiki/gateway/tall/v1.0 |
||||
|
@test = https://test.tall.wiki/gateway/tall/v1.0 |
||||
|
@localhost = http://localhost:7030/v1.0 |
||||
|
@type = content-type: application/json;charset=utf-8 |
||||
|
|
||||
|
### 登录 |
||||
|
# @name login |
||||
|
POST {{localhost}}/users/signin |
||||
|
# POST http://localhost:7030/v1.0/users/signin |
||||
|
{{type}} |
||||
|
|
||||
|
{ |
||||
|
"client": 1, |
||||
|
"type": 3, |
||||
|
"data": { |
||||
|
"identifier": "wally", |
||||
|
"credential": "111111" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
### |
||||
|
GET {{test}}/projects/1379618436082176000/roles?imitation=0 |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
Loading…
Reference in new issue