diff --git a/test/api/fastapi.http b/test/api/fastapi.http index a77bf88..10e4fc0 100644 --- a/test/api/fastapi.http +++ b/test/api/fastapi.http @@ -11,14 +11,190 @@ POST http://127.0.0.1:8000/chat content-type: application/json { - "sessionId": "a0012", + "sessionId": "a0009", "timeStamp": "202503310303", "text": "可以,继续" } HTTP/1.1 200 - OK -date: Fri, 20 Jun 2025 03:07:33 GMT +date: Fri, 20 Jun 2025 03:18:14 GMT server: uvicorn -content-length: 220 +content-length: 169 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/chat +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "text": "没有" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 03:18:24 GMT +server: uvicorn +content-length: 187 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/chat +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "text": "没有" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 03:18:29 GMT +server: uvicorn +content-length: 178 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/chat +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "text": "是的" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 03:18:38 GMT +server: uvicorn +content-length: 196 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/chat +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "text": "十点半" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 03:19:07 GMT +server: uvicorn +content-length: 247 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/chat +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "text": "我在现场" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 03:19:27 GMT +server: uvicorn +content-length: 208 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/chat +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "text": "我闯红灯了" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 03:19:40 GMT +server: uvicorn +content-length: 231 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/chat +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "text": "【拍摄完成】" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 03:20:10 GMT +server: uvicorn +content-length: 210 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/get_info +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "key": "acdinfo" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 05:19:05 GMT +server: uvicorn +content-length: 271 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/set_info +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "key": "hphm1", + "value": "沪A8938" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 05:30:03 GMT +server: uvicorn +content-length: 70 +content-type: application/json +connection: close +### +POST http://127.0.0.1:8000/get_info +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303", + "key": "hphm1" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 05:30:27 GMT +server: uvicorn +content-length: 97 +content-type: application/json +connection: close +### +DELETE http://127.0.0.1:8000/delete_session +content-type: application/json + +{ + "sessionId": "a0009", + "timeStamp": "202503310303" +} + +HTTP/1.1 200 - OK +date: Fri, 20 Jun 2025 05:56:25 GMT +server: uvicorn +content-length: 70 content-type: application/json connection: close \ No newline at end of file