updates after thursday talk
This commit is contained in:
parent
ab36b718a4
commit
6f9250cab7
7
api.py
7
api.py
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user