Name: /api/get-token
Request:
url | http://127.0.0.1:5000/api/get-token |
---|---|
method | POST |
headers |
User-Agent: python-requests/2.18.4
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Content-Type: application/json
app_version: 2.8.6
device_sn: FwgRiO7CNA50DSU
os_platform: ios
Content-Length: 52
|
body | {"sign": "9c0c7e51c91ae963c833a4ccbab8d683c4a90c98"} |
Response:
ok | True |
---|---|
url | http://127.0.0.1:5000/api/get-token |
status_code | 200 |
reason | OK |
cookies | {} |
encoding | None |
headers |
Content-Type: application/json
Content-Length: 46
Server: Werkzeug/0.14.1 Python/3.6.5+
Date: Sun, 27 Jan 2019 03:57:44 GMT
|
content_type | application/json |
json | {'success': True, 'token': 'm7Lq6XCTELA14GB0'} |
Validators:
check | comparator | expect value | actual value |
---|---|---|---|
status_code | eq | 200 | 200 |
headers.Content-Type | eq | application/json | application/json |
content.success | eq | True | True |
Statistics:
content_size(bytes) | 46 |
---|---|
response_time(ms) | 9.01 |
elapsed(ms) | 2.396 |