This commit is contained in:
11
request/http-client.env.json
Normal file
11
request/http-client.env.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"dev": {
|
||||
"host": "https://test.ctexthuang.com"
|
||||
},
|
||||
"local": {
|
||||
"host": "http://127.0.0.1:9501"
|
||||
},
|
||||
"prod": {
|
||||
"host": "https://prod.ctexthuang.com"
|
||||
}
|
||||
}
|
||||
9
request/test.http
Normal file
9
request/test.http
Normal file
@@ -0,0 +1,9 @@
|
||||
### Adapte pay test
|
||||
GET {{host}}/adapter/test/pay
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
account=13632877014&password=123456
|
||||
|
||||
> {%
|
||||
client.global.set("admin_token", response.body.data.token);
|
||||
%}
|
||||
Reference in New Issue
Block a user