📅  最后修改于: 2022-03-11 14:59:16.956000             🧑  作者: Mango
import requests
url = "https://hotels-apis.herokuapp.com/"
payload = {}
files = {}
headers= {}
response = requests.request("GET", url, headers=headers, data = payload, files = files)
print(response.text.encode('utf8'))