allowing POST for build api
This commit is contained in:
parent
0d498c1929
commit
9f6ef1b9d6
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user