python3以post方式提交数据

# !/usr/bin/python
# encoding:utf-8

import requests

#下面替换成您的数据
postdata={'name':'xiaochong'} r=requests.post('http://xxxxxx(替换成您的网址)',data=postdata) print(r.text)

猜你喜欢

转载自www.cnblogs.com/apolloren/p/11162734.html
今日推荐