Switches data to content to upload raw bytes/text content

This commit is contained in:
Trenton H 2025-03-04 09:17:42 -08:00
parent 780d1c67e9
commit 95b21a37f1

View File

@ -632,7 +632,7 @@ def send_webhook(
else: else:
httpx.post( httpx.post(
url, url,
data=data, content=data,
files=files, files=files,
headers=headers, headers=headers,
).raise_for_status() ).raise_for_status()