You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
261 B
14 lines
261 B
2 months ago
|
import requests
|
||
|
import json
|
||
|
|
||
|
url = 'http://127.0.0.1:8000/update/table/' # 确保 URL 正确
|
||
|
|
||
|
data = {
|
||
|
'point':1.5,
|
||
|
'class_name': '软工学生名单',
|
||
|
'sid':102201529 ,
|
||
|
'style':2
|
||
|
}
|
||
|
|
||
|
response = requests.post(url, data=data)
|
||
|
print(response.text)
|