@app.get("/") def root(): return {"message": "Hello World"}
@app.post("/createpost") def create_posts(): return {"message": "successfully created post"}
Last updated 3 years ago