diff --git a/Lesson_3/05_Serializing data from the database/Solution Code/endpoints_project3_solution.py b/Lesson_3/05_Serializing data from the database/Solution Code/endpoints_project3_solution.py index a44f26a..dbf0ed2 100755 --- a/Lesson_3/05_Serializing data from the database/Solution Code/endpoints_project3_solution.py +++ b/Lesson_3/05_Serializing data from the database/Solution Code/endpoints_project3_solution.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 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