#有参数get请求 r = requests.get(url,params=params)
import requests
url = "https://httpbin.org/get"
params = {"show_env":1}
r = requests.get(url,params=params)
print(r.status_code)
print(r.json())
#有参数get请求 r = requests.get(url,params=params)
import requests
url = "https://httpbin.org/get"
params = {"show_env":1}
r = requests.get(url,params=params)
print(r.status_code)
print(r.json())