diff --git a/endpoints/open.post.py b/endpoints/open.post.py index 74e6fe6..9e8853f 100644 --- a/endpoints/open.post.py +++ b/endpoints/open.post.py @@ -3,20 +3,20 @@ from fastapi import APIRouter, HTTPException router = APIRouter() towns = [ + "Yaounde", "Douala", - "Yaoundé", - "Garoua", "Bafoussam", - "Bamenda", + "Garoua", "Maroua", - "Ngaoundéré", - "Kumba", - "Nkongsamba", - "Bertoua" + "Bamenda", + "Ngaoundere", + "Bertoua", + "Ebolowa", + "Kribi" ] @router.post("/open") -async def get_towns(): +async def get_cameroon_towns(): """endpoint that returns list of town in camerouns""" if request.method != "POST": raise HTTPException(status_code=405, detail="Method Not Allowed")