Skip to main content
close
Font size options
Increase or decrease the font size for this website by clicking on the 'A's.
Contrast options
Choose a color combination to give the most comfortable contrast.

from fastapi import FastAPI

app = FastAPI()

uvicorn main:app --host 0.0.0.0 --port 8000 This command starts the Uvicorn server and runs your FastAPI application. To test your microservice, open a web browser and navigate to http://localhost:8000/ . You should see the following response: