From 17ee62ec31dbe896c3444b58dac7b1e548183a69 Mon Sep 17 00:00:00 2001 From: Hossam Magdy Date: Sat, 3 Jun 2017 09:52:25 +0200 Subject: [PATCH] Update endpointsproject3.py --- .../Starter Code/endpointsproject3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lesson_3/05_Serializing data from the database/Starter Code/endpointsproject3.py b/Lesson_3/05_Serializing data from the database/Starter Code/endpointsproject3.py index a44f26a..dbf0ed2 100644 --- a/Lesson_3/05_Serializing data from the database/Starter Code/endpointsproject3.py +++ b/Lesson_3/05_Serializing data from the database/Starter Code/endpointsproject3.py @@ -18,7 +18,7 @@ #Make an app.route() decorator here @app.route("/") -@app.route("/puppies/", methods = ['GET', 'POST']) +@app.route("/puppies", methods = ['GET', 'POST']) def puppiesFunction(): if request.method == 'GET': #Call the method to Get all of the puppies