Browse Source

allowing POST for build api

master
Youen 2 years ago
parent
commit
9f6ef1b9d6
  1. 2
      src/api/api_document.py

2
src/api/api_document.py

@ -7,7 +7,7 @@ from data.document import Document
bp = Blueprint('api_document', __name__, url_prefix='/api/doc') bp = Blueprint('api_document', __name__, url_prefix='/api/doc')
@bp.route('/build') @bp.route('/build', methods=['GET', 'POST'])
def build(): def build():
origin = get_arg('origin') origin = get_arg('origin')
doc_name = get_arg('doc_name') doc_name = get_arg('doc_name')

Loading…
Cancel
Save