wip
This commit is contained in:
parent
6ade735b23
commit
a597347dc0
1 changed files with 3 additions and 3 deletions
|
@ -8,6 +8,6 @@ app = Flask(__name__)
|
||||||
|
|
||||||
@app.route('/<strategy>', methods=['POST'])
|
@app.route('/<strategy>', methods=['POST'])
|
||||||
def build(strategy):
|
def build(strategy):
|
||||||
app.logger.info(str(request.data))
|
app.logger.info(str(request.get_json()))
|
||||||
print(strategy, request.data)
|
print(strategy, request.get_json())
|
||||||
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", request.data])
|
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", request.get_json()])
|
||||||
|
|
Loading…
Reference in a new issue