Spaces:
Build error
Build error
Update main.py
Browse files
main.py
CHANGED
|
@@ -58,7 +58,7 @@ def crea_database_azienda(database, azienda):
|
|
| 58 |
@app.post("/{azione}/{versione}/{database}/{azienda}/start")
|
| 59 |
async def receive_post(request: Request, azione: str, versione :str, database: str, azienda: str):
|
| 60 |
data = await request.json()
|
| 61 |
-
print(
|
| 62 |
conn = get_db_connection()
|
| 63 |
cursor = conn.cursor()
|
| 64 |
crea_database_azienda(database, azienda)
|
|
|
|
| 58 |
@app.post("/{azione}/{versione}/{database}/{azienda}/start")
|
| 59 |
async def receive_post(request: Request, azione: str, versione :str, database: str, azienda: str):
|
| 60 |
data = await request.json()
|
| 61 |
+
print(json.dumps(data, indent=3))
|
| 62 |
conn = get_db_connection()
|
| 63 |
cursor = conn.cursor()
|
| 64 |
crea_database_azienda(database, azienda)
|