首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
python3 requests 请求get带参数接口
python3 requests 请求get带参数接口
it
2024-12-28
12
import
requests
# 请求url
request_url
=
"xxx"
# 请求数据
data
=
dict
(
id
=
xxx
,
name
=
"xxx"
)
# 执行请求
response
=
requests
.
get
(
url
=
request_url
,
params
=
data
)
print
(
response
.
text
)
转载请注明原文地址: https://lol.8miu.com/read-21788.html
最新回复
(
0
)