Add http notebook for manual test
This commit is contained in:
26
test/api/fastgpt.http
Normal file
26
test/api/fastgpt.http
Normal file
@@ -0,0 +1,26 @@
|
||||
GET http://101.89.151.141:3000
|
||||
###
|
||||
POST http://101.89.151.141:3000/api/v1/chat/completions
|
||||
content-type: application/json
|
||||
Authorization: Bearer fastgpt-xCH4CaEoNEyVtq7fkBEI5UP3O6sABKdpGszTtSYk4R2TVW5VgrPp1YPfuLX1iH
|
||||
|
||||
{
|
||||
|
||||
"chatId": "a0002",
|
||||
"stream": false,
|
||||
"detail": false,
|
||||
"messages": [
|
||||
{
|
||||
"content": "继续",
|
||||
"role": "user"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 200 - OK
|
||||
vary: Origin, Accept-Encoding
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "s14v22uu1g5f"
|
||||
content-length: 219
|
||||
date: Fri, 20 Jun 2025 02:37:16 GMT
|
||||
connection: close
|
||||
Reference in New Issue
Block a user