Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -13,7 +13,8 @@ app.add_middleware(
|
|
| 13 |
)
|
| 14 |
|
| 15 |
@app.post("/")
|
| 16 |
-
async def webhook(data: dict):
|
|
|
|
| 17 |
print(data)
|
| 18 |
headers = {
|
| 19 |
'Content-Type': 'application/json',
|
|
|
|
| 13 |
)
|
| 14 |
|
| 15 |
@app.post("/")
|
| 16 |
+
async def webhook(data: dict, request: Request):
|
| 17 |
+
print(request)
|
| 18 |
print(data)
|
| 19 |
headers = {
|
| 20 |
'Content-Type': 'application/json',
|