import  requests,json

url = 'http://localhost:30627/api/jobs/GetNuberId?id=2'

req = requests.get(url)

result = req.json();
print(result)

python 发起get请求 python调用get接口_json