A simple application written in FastAPI.
The API itself will follow RESTful design principles, using the basic HTTP verbs: GET, POST, PUT, and DELETE.
Endpoint | HTTP Method | CRUD Method | Result |
---|---|---|---|
/heros | GET | READ | Get all hero's |
/heros/:id | GET | READ | Get a single hero |
/create/heros | POST | CREATE | Add a hero |
/heros/:id/update | PUT | UPDATE | Update a hero |
/heros/:id/delete | DELETE | DELETE | Delete a hero |