Python 调用Get接口

import  requests,json

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

req = requests.get(url)

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



 

Tags: