import requests
# 请求url
request_url = "xxx"
# 请求数据
data = dict(
id=xxx,
name="xxx"
)
# 执行请求
response = requests.get(url= request_url, params=data)
print(response.text)
python3 requests 请求get带参数接口
最新推荐文章于 2024-07-29 02:27:54 发布