updates after thursday talk

This commit is contained in:
ccl 2020-12-01 16:11:45 +01:00
parent ab36b718a4
commit 6f9250cab7

7
api.py
View File

@ -152,12 +152,7 @@ def home():
<p>A prototype API.</p>'''
@app.route('/queerAPI/refusal/all', methods=['GET'])
def api_all():
return jsonify(slogans)
@app.route('/queerAPI/refusal', methods=['GET'])
@app.route('/queermottoAPI/r1/refusal', methods=['GET'])
def api_args():
# Check if an ID was provided as part of the URL.
# If ID is provided, assign it to a variable.