python3 requests 请求get带参数接口

it2024-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)
最新回复(0)