Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from flask import Flask
from flask import Flask, request

app = Flask(__name__)
# Create the appropriate app.route functions, test and see if they work, and paste your URI’s in the boxes below.

#Make an app.route() decorator here
@app.route("/puppies", methods = ['GET', 'POST'])
Expand Down Expand Up @@ -42,3 +42,7 @@ def updatePuppy(id):

def deletePuppy(id):
return "Removing Puppy with id %s" % id

if __name__ == '__main__':
app.debug = True
app.run(host='0.0.0.0', port=5000)