Created
June 11, 2021 22:16
-
-
Save codemation/2a18dc5cbd37b6f33c15a339de130035 to your computer and use it in GitHub Desktop.
hello world fastapi app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fastapi import FastAPI | |
app = FastAPI() | |
@app.get('/') | |
async def hello_world(): | |
return "Hello World!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment