-
Notifications
You must be signed in to change notification settings - Fork 0
Quickstart
CRAG666 edited this page Jun 22, 2020
·
4 revisions
Assuming you already read README.md file
The created project does not yet have a virtual environment; use the one of your preference or use poetry already integrated in mfa. requirements.txt is created automatically
Just enter the project folder start the virtual environment and run run.py
- GET localhost:5000/example/ -> returns all records
- GET localhost:5000/example/<id> -> returns a record passed by id
- GET localhost:5000/example/?page=<num_page>&size=<records_per_page> -> page all records
- POST localhost:5000/example/ -> create new record
- PUT localhost:5000/example/<id> -> update record for id
- DELETE localhost:5000/example/<id> -> delete record for id