--- source: tests/web.rs expression: output --- /traffic/:id { "gid":, "uri": "http://localhost:/echo", "method": "POST", "req_headers": { "items": [ { "name": "content-type", "value": "text/plain" }, { "name": "accept", "value": "*/*" }, { "name": "host", "value": "localhost:" }, { "name": "content-length", "value": "13" } ], "size": 121 }, "req_body_file":"", "status": 200, "http_version": "HTTP/1.1", "res_headers": { "items": [ { "name": "content-type", "value": "text/plain" }, { "name": "content-length", "value": "13" }, { "name": "date", "value": "" } ], "size": 114 }, "res_body_file":"", "res_body_size": 13, "websocket_id": null, "start_time": "", "end_time": "", "error": null, "req_body": { "encode": "utf8", "value": "Hello, World!", "size": 13 }, "res_body": { "encode": "utf8", "value": "Hello, World!", "size": 13 } } /traffic/:id?markdown # POST http://localhost:/echo 200 REQUEST HEADERS ``` content-type: text/plain accept: */* host: localhost: content-length: 13 ``` REQUEST BODY ```plain Hello, World! ``` RESPONSE HEADERS ``` content-type: text/plain content-length: 13 date: ``` RESPONSE BODY ```plain Hello, World! ``` /traffic/:id?har { "log": { "version":"", "creator": { "name": "proxyfor", "version":"", "comment": "" }, "pages": [], "entries": [ { "startedDateTime": "", "time":