ocr improved
This commit is contained in:
9
test_query.py
Normal file
9
test_query.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import requests
|
||||
import json
|
||||
|
||||
try:
|
||||
resp = requests.post("http://localhost:3015/query", json={"query": "test", "stream": False})
|
||||
print(resp.status_code)
|
||||
print(resp.text)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
Reference in New Issue
Block a user