Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Akoda35
/
PyRunner
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
PyRunner
/
services
/
webhook_service.py
Akoda35
Create services/webhook_service.py
c5ae59a
verified
about 2 months ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
163 Bytes
import
requests
import
os
N8N_WEBHOOK = os.getenv(
"N8N_WEBHOOK_URL"
)
def
trigger_webhook
(
data
):
requests.post(
N8N_WEBHOOK,
json=data
)