Skip to content
Snippets Groups Projects
Commit ad05090c authored by Liam Driscoll's avatar Liam Driscoll
Browse files

Changes to project_server.py

parent ab2f79ba
No related branches found
No related tags found
1 merge request!15Adding AddRecord route to the project_server.py
...@@ -6,6 +6,7 @@ app = Flask(__name__) ...@@ -6,6 +6,7 @@ app = Flask(__name__)
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif']) ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
# Adds a record to the CSV file.
@app.route("/AddRecord", methods=['POST']) @app.route("/AddRecord", methods=['POST'])
def addRecord(): def addRecord():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment