From e4db7eecdb086a23e9dc4acdeac36fae223bea72 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Sun, 28 Apr 2024 00:31:48 +0800 Subject: [PATCH] qwdwd --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index af8f2af..901c2d0 100644 --- a/main.py +++ b/main.py @@ -466,7 +466,7 @@ def kp(event_data): winHookUrl = 'http://chatbot.hackrobot.cn/img' payload = {'query': {'query': "test"}} newPayload=json.loads(json.dumps(payload)) - res = requests.post(winHookUrl, data=newPayload) + res = requests.post(winHookUrl, json=newPayload) print('res====>', res) # r = res.json() # print('r',r)