diff --git a/test.py b/test.py deleted file mode 100644 index 1e028d5..0000000 --- a/test.py +++ /dev/null @@ -1,24 +0,0 @@ -import requests,urllib.error, json, re - - -################# -# Webhook Vars: # -################# -#webhook_endpoint = "https://webhooks.thezengarden.net/web/webhook-callback-poc" -#webhook_token = "5S2OtSb9KXWDyV8xYl4_Rvucz2KZHyFDRkFbRzLj78yP" -webhook_endpoint = "https://webhooks.thezengarden.net/web/webhook-callback-poc?token=5S2OtSb9KXWDyV8xYl4_Rvucz2KZHyFDRkFbRzLj78yP" - - -print("sending webhook payload...") - -# webhook_auth_header = {'Token': webhook_token } -webhook_payload = {'webhook-callback-poc': "This is a sample message sent to a webhook."} -resp = requests.post(webhook_endpoint, - headers=webhook_auth_header, - json = webhook_payload) - -print("payload sent!") -print(resp) -print(webhook_endpoint) -print(webhook_auth_header) -print(webhook_payload)