From 6f9250cab75848acbff9bba2071d248e85f5cdc9 Mon Sep 17 00:00:00 2001 From: ccl Date: Tue, 1 Dec 2020 16:11:45 +0100 Subject: [PATCH] updates after thursday talk --- api.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/api.py b/api.py index 2c52350..ecebdb3 100644 --- a/api.py +++ b/api.py @@ -152,12 +152,7 @@ def home():

A prototype API.

''' -@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.