Closed larsks closed 5 years ago
Our code looks a little odd in that we use app.route() for handling requests to / but we use api.add_resource for other requests. We should probably just write a Resource for /.
app.route()
/
api.add_resource
Resource
Our code looks a little odd in that we use
app.route()
for handling requests to/
but we useapi.add_resource
for other requests. We should probably just write aResource
for/
.