Omkar008 commited on
Commit
d8fb293
1 Parent(s): 70ff53a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
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