add: contenttype
This commit is contained in:
@@ -13,6 +13,7 @@ data = json.dumps(payload).encode("utf-8")
|
||||
|
||||
req = urllib.request.Request(
|
||||
url,
|
||||
headers={"Content-Type": "application/json"},
|
||||
data=data,
|
||||
method="POST"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user