remove test.py

This commit is contained in:
Chris Hammer 2023-06-23 17:11:57 -04:00
parent 136ebfd001
commit 19dbabb9c6

24
test.py
View File

@ -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)