{ "log": { "version": "1.2", "creator": { "name": "Charles Proxy", "version": "4.2.1" }, "entries": [ { "startedDateTime": "2018-02-19T17:30:00.904+08:00", "time": 3, "request": { "method": "POST", "url": "http://127.0.0.1:5000/api/get-token", "httpVersion": "HTTP/1.1", "cookies": [], "headers": [ { "name": "Host", "value": "127.0.0.1:5000" }, { "name": "User-Agent", "value": "python-requests/2.18.4" }, { "name": "Accept-Encoding", "value": "gzip, deflate" }, { "name": "Accept", "value": "*/*" }, { "name": "Connection", "value": "keep-alive" }, { "name": "device_sn", "value": "FwgRiO7CNA50DSU" }, { "name": "os_platform", "value": "ios" }, { "name": "app_version", "value": "2.8.6" }, { "name": "Content-Length", "value": "52" }, { "name": "Content-Type", "value": "application/json" } ], "queryString": [], "postData": { "mimeType": "application/json", "text": "{\"sign\": \"9c0c7e51c91ae963c833a4ccbab8d683c4a90c98\"}" }, "headersSize": 299, "bodySize": 52 }, "response": { "_charlesStatus": "COMPLETE", "status": 200, "statusText": "OK", "httpVersion": "HTTP/1.0", "cookies": [], "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Content-Length", "value": "46" }, { "name": "Server", "value": "Werkzeug/0.14.1 Python/3.6.4" }, { "name": "Date", "value": "Mon, 19 Feb 2018 09:30:00 GMT" }, { "name": "Proxy-Connection", "value": "Close" } ], "content": { "size": 46, "mimeType": "application/json", "text": "eyJzdWNjZXNzIjogdHJ1ZSwgInRva2VuIjogImJhTkxYMXpoRllQMTFTZWIifQ==", "encoding": "base64" }, "redirectURL": null, "headersSize": 175, "bodySize": 46 }, "serverIPAddress": "127.0.0.1", "cache": {}, "timings": { "dns": 1, "connect": 0, "ssl": -1, "send": 0, "wait": 1, "receive": 1 } }, { "startedDateTime": "2018-02-19T17:30:00.911+08:00", "time": 3, "request": { "method": "POST", "url": "http://127.0.0.1:5000/api/users/1000", "httpVersion": "HTTP/1.1", "cookies": [], "headers": [ { "name": "Host", "value": "127.0.0.1:5000" }, { "name": "User-Agent", "value": "python-requests/2.18.4" }, { "name": "Accept-Encoding", "value": "gzip, deflate" }, { "name": "Accept", "value": "*/*" }, { "name": "Connection", "value": "keep-alive" }, { "name": "device_sn", "value": "FwgRiO7CNA50DSU" }, { "name": "token", "value": "baNLX1zhFYP11Seb" }, { "name": "Content-Length", "value": "39" }, { "name": "Content-Type", "value": "application/json" } ], "queryString": [], "postData": { "mimeType": "application/json", "text": "{\"name\": \"user1\", \"password\": \"123456\"}" }, "headersSize": 265, "bodySize": 39 }, "response": { "_charlesStatus": "COMPLETE", "status": 201, "statusText": "CREATED", "httpVersion": "HTTP/1.0", "cookies": [], "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Content-Length", "value": "54" }, { "name": "Server", "value": "Werkzeug/0.14.1 Python/3.6.4" }, { "name": "Date", "value": "Mon, 19 Feb 2018 09:30:00 GMT" }, { "name": "Proxy-Connection", "value": "Close" } ], "content": { "size": 54, "mimeType": "application/json", "text": "eyJzdWNjZXNzIjogdHJ1ZSwgIm1zZyI6ICJ1c2VyIGNyZWF0ZWQgc3VjY2Vzc2Z1bGx5LiJ9", "encoding": "base64" }, "redirectURL": null, "headersSize": 77, "bodySize": 54 }, "serverIPAddress": "127.0.0.1", "cache": {}, "timings": { "dns": 0, "connect": 0, "ssl": -1, "send": 0, "wait": 3, "receive": 0 } } ] } }