From 9f6ef1b9d62738095aff8b1c25f55e8120a1b566 Mon Sep 17 00:00:00 2001 From: Youen Date: Sat, 3 Sep 2022 19:47:56 +0200 Subject: [PATCH] allowing POST for build api --- src/api/api_document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api_document.py b/src/api/api_document.py index 7a88503..fac4a50 100644 --- a/src/api/api_document.py +++ b/src/api/api_document.py @@ -7,7 +7,7 @@ from data.document import Document bp = Blueprint('api_document', __name__, url_prefix='/api/doc') -@bp.route('/build') +@bp.route('/build', methods=['GET', 'POST']) def build(): origin = get_arg('origin') doc_name = get_arg('doc_name')