# coding:utf-8
import requests
url = "/user/signin" # 接口地址
# 消息头数据
headers = {
Connection: keep-alive,
Content-Length: 123,
Cache-Control: max-age=0,
Origin:\,
Upgrade-Insecure-Requests:1,
Content-Type: application/x-www-form-urlencoded,
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36,
Accept: ext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,
Referer: /account/login?from=,
Accept-Encoding: &
如果觉得《python的post请求中加参数_Python 模拟post请求》对你有帮助,请点赞、收藏,并留下你的观点哦!