Upload 5 files
Browse files
app.py
CHANGED
|
@@ -14,6 +14,10 @@ def root():
|
|
| 14 |
def ping():
|
| 15 |
return {"pong": True}
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
@app.get("/webhook")
|
| 18 |
async def verify_webhook(request: Request):
|
| 19 |
params = request.query_params
|
|
|
|
| 14 |
def ping():
|
| 15 |
return {"pong": True}
|
| 16 |
|
| 17 |
+
@app.post("/test")
|
| 18 |
+
def test():
|
| 19 |
+
return {"status": "ok"}
|
| 20 |
+
|
| 21 |
@app.get("/webhook")
|
| 22 |
async def verify_webhook(request: Request):
|
| 23 |
params = request.query_params
|