mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 11:55:00 +00:00
feat: allow POST method for yolo_results endpoint
This commit is contained in:
@@ -158,7 +158,7 @@ def image():
|
||||
return "No image available", 404
|
||||
|
||||
|
||||
@app.route('/yolo_results', methods=['GET'])
|
||||
@app.route('/yolo_results', methods=['GET', 'POST'])
|
||||
def yolo_results_endpoint():
|
||||
global yolo_results
|
||||
with lock:
|
||||
|
Reference in New Issue
Block a user