A secure RESTful API built with Python and Flask that calculates the sequential sum of a list of numbers.
This project fulfills the API Development & Deployment Challenge requirements:
- Secure POST
/sumendpoint - API Key Authentication (
X-API-KEY) - Sequential sum calculation
- Local testing with pytest
- Public GitHub repository ready
- README with setup + request examples
- POST
/sumendpoint - API Key authentication
- JSON request validation
- Standardized success/error responses
- Root endpoint (
/) - Health check endpoint (
/health) - Local test suite
- Demo script for validation
protocol_round2/
│── venv/
│── .env
│── .gitignore
│── README.md
│── app.py
│── requirements.txt
│── test_api_demo.py
│── test_app.py