Spaces:
Sleeping
Sleeping
Funciones listas
Browse files
main.py
CHANGED
@@ -5,4 +5,14 @@ app = FastAPI()
|
|
5 |
@app.get("/")
|
6 |
def hello():
|
7 |
|
8 |
-
return {"Status":"Deployed"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
@app.get("/")
|
6 |
def hello():
|
7 |
|
8 |
+
return {"Status":"Deployed"}
|
9 |
+
|
10 |
+
@app.get("/getTokens")
|
11 |
+
def getTokens():
|
12 |
+
|
13 |
+
return {"Status":"Getting Tokens..."}
|
14 |
+
|
15 |
+
@app.get("/debitTokens")
|
16 |
+
def debitTokens():
|
17 |
+
|
18 |
+
return {"Status":"Debitting tokens..."}
|