[24.02.20] Path changes yet again for sending to gateway - kube is smarter than I thought
This commit is contained in:
parent
20b7c3344f
commit
793c8898dc
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user