[24.02.20] Path changes yet again for sending to gateway - kube is smarter than I thought

This commit is contained in:
andrewso 2020-02-24 14:45:22 +00:00
parent 20b7c3344f
commit 793c8898dc

View File

@ -10,7 +10,7 @@ class keys():
def send(query): def send(query):
uri = keys().uri + ":"+ keys().port + "/graphql" uri = keys().uri + "/graphql"
headers = {'Content-type': 'application/json'} headers = {'Content-type': 'application/json'}
response = requests.post(uri, json={'query': query}, headers=headers) response = requests.post(uri, json={'query': query}, headers=headers)