Skip to content
Snippets Groups Projects
Commit d8e83180 authored by Ethan Robert's avatar Ethan Robert
Browse files

Created Student API

parent 4d87e643
Branches
No related tags found
No related merge requests found
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
with open("message.txt", "r") as file:
return {"message": file.read()}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment