Add http notebook for manual test
This commit is contained in:
24
test/api/fastapi.http
Normal file
24
test/api/fastapi.http
Normal file
@@ -0,0 +1,24 @@
|
||||
GET http://127.0.0.1:8000
|
||||
|
||||
HTTP/1.1 200 - OK
|
||||
date: Fri, 20 Jun 2025 03:07:21 GMT
|
||||
server: uvicorn
|
||||
content-length: 32
|
||||
content-type: application/json
|
||||
connection: close
|
||||
###
|
||||
POST http://127.0.0.1:8000/chat
|
||||
content-type: application/json
|
||||
|
||||
{
|
||||
"sessionId": "a0012",
|
||||
"timeStamp": "202503310303",
|
||||
"text": "可以,继续"
|
||||
}
|
||||
|
||||
HTTP/1.1 200 - OK
|
||||
date: Fri, 20 Jun 2025 03:07:33 GMT
|
||||
server: uvicorn
|
||||
content-length: 220
|
||||
content-type: application/json
|
||||
connection: close
|
||||
Reference in New Issue
Block a user