Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 213 Bytes
import requests
q = """
{
website(url: "https://lethain.com/migrations") {
title
image
description
}
}
"""
resp = requests.post("http://localhost:5000/", params={'query': q})
print(resp.text)