Update main.py
Browse files
main.py
CHANGED
@@ -15,7 +15,9 @@ app.add_middleware(
|
|
15 |
app = FastAPI()
|
16 |
|
17 |
@app.get("/test")
|
18 |
-
async def test():
|
|
|
|
|
19 |
print("URL endpoint hit !!")
|
20 |
return {"response":"URL HIT!!"}
|
21 |
|
|
|
15 |
app = FastAPI()
|
16 |
|
17 |
@app.get("/test")
|
18 |
+
async def test(request:Request):
|
19 |
+
body = await request.json()
|
20 |
+
print(body.get('refresh_token'))
|
21 |
print("URL endpoint hit !!")
|
22 |
return {"response":"URL HIT!!"}
|
23 |
|