Junaidb commited on
Commit
53d87a8
·
verified ·
1 Parent(s): 2a59919

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI,Request,HTTPException,Response
2
+ from pydantic import BaseModel
3
+ from fastapi.responses import JSONResponse
4
+
5
+ app=FastAPI()
6
+
7
+
8
+
9
+ @app.get("/")
10
+ def Auth401(request:Request):
11
+ return {"token":""}