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')