Edm0nd/edmond/utils.py

8 lines
135 B
Python

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