Bleak's picture
Create app.py
84f16ed verified
raw
history blame contribute delete
178 Bytes
from fastapi import FastAPI, Request, Response
app = FastAPI()
@app.post("/webhook")
async def receive_webhook(request: Request):
result = await request.json()
print(result)