Bleak commited on
Commit
84f16ed
·
verified ·
1 Parent(s): d0206db

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI, Request, Response
2
+ app = FastAPI()
3
+
4
+ @app.post("/webhook")
5
+ async def receive_webhook(request: Request):
6
+ result = await request.json()
7
+ print(result)