parent
6176bd3afc
commit
f303286b90
2
utils.py
2
utils.py
|
@ -30,7 +30,7 @@ def requester(url, method, payload, headers=None):
|
|||
print("\033[91m/!\ API didn't respond correctly to a POST method !\033[0m")
|
||||
return None
|
||||
else:
|
||||
r = requests.get(url + "?query={}".format(payload), verify=False)
|
||||
r = requests.get(url + "?query={}".format(payload), verify=False, headers=headers)
|
||||
return r
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue