initial-import: 2026-04-11 21:18:55
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
|
||||
import requests
|
||||
import json
|
||||
|
||||
BASE_URL = "http://localhost:7891/api"
|
||||
|
||||
print("Testing create task...")
|
||||
r = requests.post(
|
||||
f"{BASE_URL}/create-task",
|
||||
json={
|
||||
'title': '端到端测试:验证三国量化数据获取与分析流程',
|
||||
'org': '户部',
|
||||
'official': '赵云',
|
||||
'priority': 'high',
|
||||
'targetDept': '户部'
|
||||
}
|
||||
)
|
||||
print(f"Status: {r.status_code}")
|
||||
print(f"Response: {r.text}")
|
||||
|
||||
Reference in New Issue
Block a user