request in config should also be parsed

This commit is contained in:
debugtalk
2017-09-12 22:32:52 +08:00
parent 2b26fe3931
commit 0e601c1865
7 changed files with 26 additions and 32 deletions

View File

@@ -15,6 +15,7 @@ except NameError:
import urllib.parse as urllib
SECRET_KEY = "DebugTalk"
BASE_URL = "http://127.0.0.1:5000"
def get_sign(*args):
content = ''.join(args).encode('ascii')

View File

@@ -8,7 +8,7 @@
- os_platform: 'ios'
- app_version: '2.8.6'
request:
base_url: http://127.0.0.1:5000
base_url: $BASE_URL
headers:
Content-Type: application/json
device_sn: $device_sn

View File

@@ -18,7 +18,7 @@
- os_platform: 'ios'
- app_version: '2.8.6'
request:
base_url: http://127.0.0.1:5000
base_url: $BASE_URL
headers:
Content-Type: application/json
device_sn: $device_sn

View File

@@ -3,7 +3,7 @@
variable_binds:
- device_sn: 'HZfFBh6tU59EdXJ'
request:
base_url: http://127.0.0.1:5000
base_url: $BASE_URL
headers:
Content-Type: application/json
device_sn: $device_sn