import requests requests.get("https://www.google.com/")
import requests r = requests.get("http://example.com/foo/bar", data="Hey") print(r.text)
import requests response = requests.get("http://api.open-notify.org/astros.json") print(response)