remove test.py
This commit is contained in:
parent
136ebfd001
commit
19dbabb9c6
24
test.py
24
test.py
@ -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)
|
Loading…
x
Reference in New Issue
Block a user