---部分代码
a = xx
params = {
'page_title': 'wiki_test',
'page_content': 'a',
'cat_name': 'G'
}
resp = requests.post(url, data=params, headers=headers)
---
其中 page_content 提交后还是 a,并没有引用变量值。
a = xx
params = {
'page_title': 'wiki_test',
'page_content': 'a',
'cat_name': 'G'
}
resp = requests.post(url, data=params, headers=headers)
---
其中 page_content 提交后还是 a,并没有引用变量值。