使用Python写一段发送post请求的代码

import requests url = 'http://www.example.com/post' data = {'key1': 'value1', 'key2': 'value2'}response = requests.post(url, data=data)

猜你喜欢

转载自blog.csdn.net/weixin_35750747/article/details/129551056