pip install requests python import requests python response = requests.get(url) python response = requests.post(url, data={'key': 'value'}) python response = requests.get(url, params={'key1': 'value1', 'key2': 'value2'}) python python response = requests.get(url, headers=headers)


上一篇:
下一篇:
切换中文