Basic implementation of FastAPI. (Beginner)
- Install Python if you don’t have that already.
- Read the documentation from here: https://fastapi.tiangolo.com/
- Go to the installation section to know how to make a basic API from here: https://fastapi.tiangolo.com/#installation
- Follow their basic instructions and use the file index.py
- Run the server.
- Install Postman from this link → https://www.postman.com/downloads/
- Open postman after installing it(Try to use without signing up, but no problem if you do sign up).
- Test the endpoints using Postman.
- Select "APIs".
- Click "new".
- Select HTTP Request.
- Put your endpoint in the URL address [ localhost:5000 ]. For example: localhost:5000/item. Then, click "Send".