Edm0nd/edmond/utils.py

8 lines
135 B
Python
Raw Normal View History

import requests
def http_get(url):
response = requests.get(url)
if response.status_code == 200:
return response.text