Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 400 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 400 Bytes

Python FastAPI project that allows to receive sum of a and b

Requirements

How to run

python -m venv .venv
source .venv/bin/activate
uvicorn main:app --reload

Usage example

curl -X 'GET' \
  'http://127.0.0.1:8000/sum?a=2&b=3' \
  -H 'accept: application/json'