diff --git a/canarytokens/loghandlers.py b/canarytokens/loghandlers.py index 00dd338d7..5844c5922 100644 --- a/canarytokens/loghandlers.py +++ b/canarytokens/loghandlers.py @@ -77,7 +77,7 @@ def __call__(self, event): # pragma: no cover def httpRequest(postdata): # pragma: no cover agent = Agent(reactor) - headers = {b"Content-Type": [b"application/x-www-form-urlencoded"]} + headers = {b"Content-Type": [b"application/json"]} data_str = json.dumps(postdata) body = BytesProducer(data_str.encode()) url = os.getenv("ERROR_LOG_WEBHOOK").encode()