POST请求也就是向服务器提交数据,通常我们用来提交表单数据:
import requestspostdata = { //定义表单数据
"username": "abc",
"password":
}req = requests.post("http://www.xxxx.com/login", data=postdata) //使用post()方法发送POST请求
print(req.text)
POST请求也就是向服务器提交数据,通常我们用来提交表单数据:
import requestspostdata = { //定义表单数据
"username": "abc",
"password":
}req = requests.post("http://www.xxxx.com/login", data=postdata) //使用post()方法发送POST请求
print(req.text)
该资源仅限VIP专享下载