1. Division
Divide API
  • Division
    • Endpoints
    • Getting Started
    • Observability and Monitoring
    • Divide two integers
      POST
  1. Division

Getting Started

1.
Building And Starting The Application
Git fork THIS repository
Clone the project to your local environment
Navigate to the project directorate
Ensure you have docker app installed and opened
Run docker-compose build
flask db migrate
flask db upgrade head
docker-compose up
Open your server to verify everything is working http://0.0.0.0:5500
`
2.
Access the Divide Endpoint
To perform the divide operation on two integers assuminga = 10 & b = 5
runcurl -X POST -H "Content-Type: application/json" -d '{"a": 10, "b": 5}' http://localhost:5500/api/divide
Modified at 2024-07-04 12:37:17
Previous
Endpoints
Next
Observability and Monitoring
Built with