Correct Name commited on
Commit
1307215
·
1 Parent(s): bde3809

adding new endpoint

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -5,3 +5,9 @@ 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
+
11
+ @app.get("/plaintext")
12
+ def greet_plaintext():
13
+ return {"result":"this is pugazh mukilan's api"}