diff --git a/Examples_from_plants_database/Flask-CORS-Example-1/flaskr/__init__.py b/Examples_from_plants_database/Flask-CORS-Example-1/flaskr/__init__.py index 6ce942c2..9464d139 100644 --- a/Examples_from_plants_database/Flask-CORS-Example-1/flaskr/__init__.py +++ b/Examples_from_plants_database/Flask-CORS-Example-1/flaskr/__init__.py @@ -15,7 +15,7 @@ def after_request(response): "Access-Control-Allow-Headers", "Content-Type, Authorization" ) response.headers.add( - "Access-Control-Allow-Headers", "GET, POST, PATCH, DELETE, OPTION" + "Access-Control-Allow-Methods", "GET, POST, PATCH, DELETE, OPTION" ) return response