rvritesh167 commited on
Commit
1e0f3fc
·
verified ·
1 Parent(s): c17c7eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -5,3 +5,8 @@ app = FastAPI()
5
  @app.get("/")
6
  def greet_json():
7
  return {"Hello": "World!"}
 
 
 
 
 
 
5
  @app.get("/")
6
  def greet_json():
7
  return {"Hello": "World!"}
8
+
9
+
10
+ @app.post("/")
11
+ def post_name(name:str):
12
+ return "this is your name: "+ name