Skip to content
Snippets Groups Projects

Adding AddRecord route to the project_server.py

+ 1
0
@@ -6,6 +6,7 @@ app = Flask(__name__)
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
# Adds a record to the CSV file.
@app.route("/AddRecord", methods=['POST'])
def addRecord():
Loading