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